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

Commit4393926

Browse files
committed
All "tags" (in the tree-construction tests) without whitespace in them are in the HTML namespace, not just those with only word characters.
1 parent2db6861 commit4393926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tests/test_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def sortattrs(x):
7373
lines=x.group(0).split("\n")
7474
lines.sort()
7575
return"\n".join(lines)
76-
namespaceExpected=re.compile(r"^(\s*)<(\w+)>",re.M).sub
76+
namespaceExpected=re.compile(r"^(\s*)<(\S+)>",re.M).sub
7777

7878
classTestCase(unittest.TestCase):
7979
defrunParserTest(self,innerHTML,input,expected,errors,treeClass,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp