Skip to content

Commit 3a5b8f9

Browse files
author
Edward Z. Yang ext:(%22)
committed
Merge geoffer's change, and fix the bug.
1 parent 9e5d582 commit 3a5b8f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/HTML5/TreeConstructer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,7 @@ public function emitToken($token, $mode = null) {
16121612

16131613
/* An end tag whose tag name is one of: "a", "b", "big", "em",
16141614
"font", "i", "nobr", "s", "small", "strike", "strong", "tt", "u" */
1615-
case 'a': case 'b': case 'big': case 'em': case 'font':
1615+
case 'a': case 'b': case 'big': case 'code': case 'em': case 'font':
16161616
case 'i': case 'nobr': case 's': case 'small': case 'strike':
16171617
case 'strong': case 'tt': case 'u':
16181618
// XERROR: generally speaking this needs parse error logic

0 commit comments

Comments
 (0)