Skip to content

Commit 279c29b

Browse files
author
Geoff McLane
committed
Issue #20 - revert to 880221e fix this issue
1 parent 4bb9418 commit 279c29b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/parser.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -3921,7 +3921,10 @@ void TY_(ParseBody)(TidyDocImpl* doc, Node *body, GetTokenMode mode)
39213921

39223922
if (TY_(nodeIsElement)(node))
39233923
{
3924-
if ( TY_(nodeHasCM)(node, CM_INLINE) && !TY_(nodeHasCM)(node, CM_MIXED) ) /* [i_a]2 add CM_MIXED */
3924+
/* Issue #20 - merging from Ger Hobbelt fork put back CM_MIXED, which had been
3925+
removed to fix this issue - reverting to fix 880221e
3926+
*/
3927+
if ( TY_(nodeHasCM)(node, CM_INLINE) )
39253928
{
39263929
/* HTML4 strict doesn't allow inline content here */
39273930
/* but HTML2 does allow img elements as children of body */

0 commit comments

Comments
 (0)