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

Commit4a788c3

Browse files
author
Matt Gilson
committed
fixup for flake8
1 parent38ae9fb commit4a788c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎html5lib/sanitizer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@ def sanitize_token(self, token):
214214
defallowed_token(self,token,token_type):
215215
if"data"intoken:
216216
attrs=dict((name,val)forname,valin
217-
token["data"][::-1]
218-
ifnameinself.allowed_attributes)
217+
token["data"][::-1]ifnameinself.allowed_attributes)
219218
forattrinself.attr_val_is_uri:
220219
ifattrnotinattrs:
221220
continue

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp