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

Appearance settings

Commit e45339a

Browse filesBrowse files
committed
Fix #258: annotation-xml branch didn't check tag type
1 parent 2665e0d commit e45339a
Copy full SHA for e45339a

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎html5lib/html5parser.py

Copy file name to clipboardExpand all lines: html5lib/html5parser.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ def mainLoop(self):
193193
type in (CharactersToken, SpaceCharactersToken))) or
194194
(currentNodeNamespace == namespaces["mathml"] and
195195
currentNodeName == "annotation-xml" and
196+
type == StartTagToken and
196197
token["name"] == "svg") or
197198
(self.isHTMLIntegrationPoint(currentNode) and
198199
type in (StartTagToken, CharactersToken, SpaceCharactersToken))):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.