diff --git a/src/parser.c b/src/parser.c index ae773aa..4fb7a8c 100644 --- a/src/parser.c +++ b/src/parser.c @@ -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)) diff --git a/version.txt b/version.txt index 5075da1..abfc04f 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.3.5 +5.3.5-Issue-428 2016.07.01