8000 Remove special handling of <spacer> · html5lib/html5lib-python@cd0ac71 · GitHub
[go: up one dir, main page]

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

8000
Appearance settings

Commit cd0ac71

Browse files
author
James Graham
committed
Remove special handling of <spacer>
1 parent d9fc453 commit cd0ac71

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

html5lib/html5parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def __init__(self, parser, tree):
909909
(("applet", "marquee", "object"), self.startTagAppletMarqueeObject),
910910
("xmp", self.startTagXmp),
911911
("table", self.startTagTable),
912-
(("area", "br", "embed", "img", "input", "keygen", "spacer",
912+
(("area", "br", "embed", "img", "input", "keygen",
913913
"wbr"), self.startTagVoidFormatting),
914914
(("param", "source"), self.startTagParamSource),
915915
("hr", self.startTagHr),

html5lib/tests/test_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ def testFunc(self, innerHTML=innerHTML, input=input,
142142
setattr(TestCase, testFunc.__name__,
143143
testFunc)
144144
break
145+
break
145146

146147
return unittest.TestLoader().loadTestsFromTestCase(TestCase)
147148

0 commit comments

Comments
 (0)
0