Skip to content

Commit c335295

Browse files
committed
Drop tree walker doctype correct flag, whatever that once was!
1 parent 7f8bd13 commit c335295

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

html5lib/treewalkers/_base.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,11 @@ def text(self, data):
6262
def comment(self, data):
6363
return {"type": "Comment", "data": data}
6464

65-
def doctype(self, name, publicId=None, systemId=None, correct=True):
65+
def doctype(self, name, publicId=None, systemId=None):
6666
return {"type": "Doctype",
6767
"name": name,
6868
"publicId": publicId,
69-
"systemId": systemId,
70-
"correct": correct}
69+
"systemId": systemId}
7170

7271
def entity(self, name):
7372
return {"type": "Entity", "name": name}

0 commit comments

Comments
 (0)