Skip to content

Commit 12dd376

Browse files
author
James Graham
committed
Update python code and tests for the recent ruby start tag parsing changes
1 parent bbbb03f commit 12dd376

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

html5lib/html5parser.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,8 +1233,6 @@ def startTagRpRt(self, token):
12331233
self.tree.generateImpliedEndTags()
12341234
if self.tree.openElements[-1].name != "ruby":
12351235
self.parser.parseError()
1236-
while self.tree.openElements[-1].name != "ruby":
1237-
self.tree.openElements.pop()
12381236
self.tree.insertElement(token)
12391237

12401238
def startTagMath(self, token):

0 commit comments

Comments
 (0)