We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a9de87 commit 03c7960Copy full SHA for 03c7960
src/html5lib/html5parser.py
@@ -335,8 +335,7 @@ def processDoctype(self, token):
335
if publicId != "":
336
publicId = publicId.translate(asciiUpper2Lower)
337
338
-
339
- if ((not correct) or nameLower != "html"
+ if ((not correct) or token["name"] != "html"
340
or publicId in
341
("+//silmaril//dtd html pro v0r11 19970101//en",
342
"-//advasoft ltd//dtd html 3.0 aswedit + extensions//en",
0 commit comments