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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy