rebase issue-428

This commit is contained in:
Geoff McLane 2016-08-02 18:10:19 +02:00
commit 7631f25ed2
2 changed files with 3 additions and 3 deletions

View file

@ -4022,9 +4022,9 @@ void TY_(ParseBody)(TidyDocImpl* doc, Node *body, GetTokenMode mode)
*/
lexer->excludeBlocks = no;
if ( nodeIsINPUT(node) ||
if (( nodeIsINPUT(node) ||
(!TY_(nodeHasCM)(node, CM_BLOCK) && !TY_(nodeHasCM)(node, CM_INLINE))
)
) && !TY_(IsHTML5Mode)(doc) )
{
/* avoid this error message being issued twice */
if (!(node->tag->model & CM_HEAD))

View file

@ -1,2 +1,2 @@
5.3.8
5.3.8-Issue-428
2016.07.29