Skip to content

Commit 393f86a

Browse files
committed
fixup! squash! Fix #72: rewrite the sanitizer to be a treewalker filter only.
1 parent d4abff1 commit 393f86a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

html5lib/tests/test_sanitizer.py

-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ def test_sanitizer():
6363
continue
6464
if tag_name in ['caption', 'col', 'colgroup', 'optgroup', 'option', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr']:
6565
continue # TODO
66-
if tag_name != tag_name.lower():
67-
continue # TODO
6866
if tag_name == 'image':
6967
yield (runSanitizerTest, "test_should_allow_%s_tag" % tag_name,
7068
"<img title=\"1\"/>foo &lt;bad&gt;bar&lt;/bad&gt; baz",

0 commit comments

Comments
 (0)