We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22c2b1a commit 5336ebeCopy full SHA for 5336ebe
1 file changed
html5lib/filters/lint.py
@@ -49,7 +49,8 @@ def __iter__(self):
49
assert start == (namespace, name)
50
51
elif type == "Comment":
52
- pass
+ data = token["data"]
53
+ assert isinstance(data, text_type)
54
55
elif type in ("Characters", "SpaceCharacters"):
56
data = token["data"]
0 commit comments