8000 Drop tree walker doctype correct flag, whatever that once was! · html5lib/html5lib-python@c335295 · GitHub
[go: up one dir, main page]

Skip to content

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

Appearance settings

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

Lines changed: 2 additions & 3 deletions
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)
0