docs: private int checkHtml(final StringBuilder out, final String in, final int start)
      {
          final StringBuilder temp = new StringBuilder();
          int pos;
  
          // Check for auto links
          temp.setLength(0);
          pos = Utils.readUntil(temp, in, start + 1, ':', ' ', '>', '\n');
          if (pos != -1 && in.charAt(pos) == ':' && HTML.isLinkPrefix(temp.toString()))
          {
              pos = Utils.readUntil(temp, in, pos, '>');
              if (pos != -1)
              {
                  final String link = temp.toString();
                  this.config.decorator.openLink(out);
                  out.append(" href=\"");
                  Utils.appendValue(out, link, 0, link.length());
                  out.append("\">");
                  Utils.appendValue(out, link, 0, link.length());
                  this.config.decorator.closeLink(out);
                  return pos;
              }
          }
  
          // Check for mailto auto link
          temp.setLength(0);
          pos = Utils.readUntil(temp, in, start + 1, '@', ' ', '>', '\n');
          if (pos != -1 && in.charAt(pos) == '@')
          {
              pos = Utils.readUntil(temp, in, pos, '>');
              if (pos != -1)
              {
                  final String link = temp.toString();
                  this.config.decorator.openLink(out);
                  out.append(" href=\"");
                  Utils.appendMailto(out, "mailto:", 0, 7);
                  Utils.appendMailto(out, link, 0, link.length());
                  out.append("\">");
                  Utils.appendMailto(out, link, 0, link.length());
                  this.config.decorator.closeLink(out);
                  return pos;
              }
          }
  
          // Check for inline html
          if (start + 2 < in.length())
          {
              temp.setLength(0);
              return Utils.readXML(out, in, start, this.config.safeMode);
          }
  
          return -1;
      }