Skip to content

Commit

Permalink
HTML parser: handle </br> and </p> in SVG
Browse files Browse the repository at this point in the history
Fixes #5113.
  • Loading branch information
zcorpan committed Jun 4, 2021
1 parent 0e2bdcf commit 5333b04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -112362,6 +112362,7 @@ document.body.appendChild(text);
<dt>A start tag whose tag name is "font", if the token has any attributes named "color", "face",
or "size"</dt> <!-- the attributes here are required so that SVG <font> will go through as SVG
but legacy <font>s won't -->
<dt>An end tag whose tag name is "br", "p"</dt>

<dd>
<p><span>Parse error</span>.</p>
Expand Down

0 comments on commit 5333b04

Please sign in to comment.