Issue #384 - insert comments

This commit is contained in:
Geoff McLane 2016-03-30 14:18:04 +02:00
parent 4b135d9b47
commit 1830fdb97c
1 changed files with 2 additions and 0 deletions

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;