private int checkHtml(final StringBuilder out, final String in, 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());
                out.append("</a>");
                return pos;
            }
        }

        // Check for mailto or adress 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=\"");
                
                //address auto links
                if(link.startsWith("@")) {
                	String slink = link.substring(1);
            		String url = "https://maps.google.com/maps?q="+slink.replace(' ', '+');
            		out.append(url);
                    out.append("\">");
                    out.append(slink);
                }
                //mailto auto links
                else {
                    Utils.appendMailto(out, "mailto:", 0, 7);
                    Utils.appendMailto(out, link, 0, link.length());
                    out.append("\">");
                    Utils.appendMailto(out, link, 0, link.length());                	
                }
                out.append("</a>");
                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;
    }