Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit62ce217

Browse files
committed
fixup! squash!Fix#72: rewrite the sanitizer to be a treewalker filter only.
1 parent393f86a commit62ce217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎html5lib/tests/test_sanitizer.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_sanitizer():
6161
forns,tag_nameinsanitizer.allowed_elements:
6262
ifns!=constants.namespaces["html"]:
6363
continue
64-
iftag_namein ['caption','col','colgroup','optgroup','option','table','tbody','td','tfoot','th','thead','tr']:
64+
iftag_namein ['caption','col','colgroup','optgroup','option','table','tbody','td','tfoot','th','thead','tr','select']:
6565
continue# TODO
6666
iftag_name=='image':
6767
yield (runSanitizerTest,"test_should_allow_%s_tag"%tag_name,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp