Skip to content

Commit

Permalink
HTML parser: fix a regression with foster parenting in foreign content
Browse files Browse the repository at this point in the history
The regression was introduced in f690ad9 (#6399).

For the case:

<table><math><p>foo

the <p> token would not have foster parenting enabled, thus inserting it into the table.

Fixes #6439.
  • Loading branch information
zcorpan authored Jul 20, 2021
1 parent 7e5391d commit c619ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -113754,8 +113754,8 @@ document.body.appendChild(text);
<span>HTML integration point</span>, or an element in the <span>HTML namespace</span>, pop
elements from the <span>stack of open elements</span>.</p>

<p>Process the token <span>using the rules for</span> the "<span data-x="insertion mode:
in body">in body</span>" <span>insertion mode</span>.</p>
<p>Reprocess the token according to the rules given in the section corresponding to the current
<span>insertion mode</span> in HTML content.</p>
</dd>

<dt>Any other start tag</dt>
Expand Down

0 comments on commit c619ded

Please sign in to comment.