Merge branch 'issue-428'

Conflicts:
	version.txt

This closes #428
This commit is contained in:
Geoff McLane 2016-09-11 16:57:07 +02:00
commit d81a9ad901

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))