8000 Fix reset insertion mode bug for foreign elements. · html5lib/html5lib-php@03d4a25 · GitHub
[go: up one dir, main page]

Skip to content

Commit 03d4a25

Browse files
author
Edward Z. Yang ext:(%22)
committed
Fix reset insertion mode bug for foreign elements.
1 parent 08c3a7e commit 03d4a25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/HTML5/TreeConstructer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3330,6 +3330,7 @@ private function resetInsertionMode($context = null) {
33303330
$node->namespaceURI === self::NS_MATHML) {
33313331
$this->mode = self::IN_FOREIGN_CONTENT;
33323332
$this->secondary_mode = self::IN_BODY;
3333+
break;
33333334

33343335
/* 12. If node is a head element, then switch the insertion mode
33353336
to "in body" ("in body"! not "in head"!) and abort these steps.

0 commit comments

Comments
 (0)
0