
<html><head>
  <title>Google</title>
</head>
<body>
<script>
</script><a id=1a href="/imghp?hl=en&tab=wi">Images</a>
</body></html>

-> output
line 6 column 43 - Warning: unescaped & or unknown entity "&tab"

This should be

line 6 column 37 - Warning: unescaped & or unknown entity "&tab"


The reason of this is a change in lexer.c line 1838

New Version (wrong)

            if (matches && nested-- <= 0)
            {
                for (i = lexer->lexsize - 1; i >= start; --i)
                    UngetChar((uint)lexer->lexbuf[i], doc->docIn);
                UngetChar('/', doc->docIn);
                UngetChar('<', doc->docIn);
                lexer->lexsize -= (lexer->lexsize - start) + 2;
                break;
            }
            
Old version (Good)            

            if (matches && nested-- <= 0)
            {
                /* skip trailing white space in end tag */
                while (IsWhite(c))
                    c = ReadChar(doc->docIn);

                /* <script>...</script<p>... */
                if (c == '<')
                    UngetChar(c, doc->docIn);

                lexer->lexsize -= (lexer->lexsize - start) + 2;
                break;
            }
            