Issue #384 - insert comments

This commit is contained in:
Geoff McLane 2016-03-30 14:18:04 +02:00
parent 4b135d9b47
commit 1830fdb97c

View file

@ -2749,6 +2749,8 @@ static Node* GetTokenFromStream( TidyDocImpl* doc, GetTokenMode mode )
}
/* otherwise treat as CDATA */
/* fix for bug 762102 (486) */
/* Issue #384 - Fix skipping parsing character, particularly '<<' */
TY_(UngetChar)(c, doc->docIn);
lexer->lexsize -= 1;
lexer->state = LEX_CONTENT;