Merge pull request #322 from benkasminbullock/master
Don't push back non-A tokens.
This commit is contained in:
commit
2522730e3c
|
@ -1352,7 +1352,10 @@ void TY_(ParseBlock)( TidyDocImpl* doc, Node *element, GetTokenMode mode)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
TY_(UngetToken)( doc );
|
if (nodeIsA(element))
|
||||||
|
{
|
||||||
|
TY_(UngetToken)( doc );
|
||||||
|
}
|
||||||
TY_(ReportError)(doc, element, node, MISSING_ENDTAG_BEFORE);
|
TY_(ReportError)(doc, element, node, MISSING_ENDTAG_BEFORE);
|
||||||
|
|
||||||
if (!(mode & Preformatted))
|
if (!(mode & Preformatted))
|
||||||
|
|
Loading…
Reference in a new issue