Skip to content

Commit

Permalink
fixup! squash! Fix #72: rewrite the sanitizer to be a treewalker filt…
Browse files Browse the repository at this point in the history
…er only.
  • Loading branch information
gsnedders committed May 8, 2016
1 parent 393f86a commit 62ce217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html5lib/tests/test_sanitizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_sanitizer():
for ns, tag_name in sanitizer.allowed_elements:
if ns != constants.namespaces["html"]:
continue
if tag_name in ['caption', 'col', 'colgroup', 'optgroup', 'option', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr']:
if tag_name in ['caption', 'col', 'colgroup', 'optgroup', 'option', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'select']:
continue # TODO
if tag_name == 'image':
yield (runSanitizerTest, "test_should_allow_%s_tag" % tag_name,
Expand Down

0 comments on commit 62ce217

Please sign in to comment.