Issue #428 - Avoid adding form to input if html5
This commit is contained in:
parent
d332908e5d
commit
685f7a6c5b
|
@ -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))
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
5.3.5
|
||||
5.3.5-Issue-428
|
||||
2016.07.01
|
||||
|
|
Loading…
Reference in a new issue