Skip to content

Commit 62ce217

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/tests/test_sanitizer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_sanitizer():
6161
for ns, tag_name in sanitizer.allowed_elements:
6262
if ns != constants.namespaces["html"]:
6363
continue
64-
if tag_name in ['caption', 'col', 'colgroup', 'optgroup', 'option', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr']:
64+
if tag_name in ['caption', 'col', 'colgroup', 'optgroup', 'option', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'select']:
6565
continue # TODO
6666
if tag_name == 'image':
6767
yield (runSanitizerTest, "test_should_allow_%s_tag" % tag_name,

0 commit comments

Comments
 (0)