Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19686c8

Browse files
committed
Fix handling of <font> in SVG
1 parent6a29350 commit19686c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎html5lib/html5parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2426,7 +2426,7 @@ def processStartTag(self, token):
24262426
currentNode=self.tree.openElements[-1]
24272427
if (token["name"]inself.breakoutElementsor
24282428
(token["name"]=="font"and
2429-
set(token["data"].keys())|set(["color","face","size"]))):
2429+
set(token["data"].keys())&set(["color","face","size"]))):
24302430
self.parser.parseError("unexpected-html-element-in-foreign-content",
24312431
token["name"])
24322432
while (self.tree.openElements[-1].namespace!=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp