Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d95706

Browse files
committed
support <HTML>, remove <HEADER>
1 parent 0daa13b commit 2d95706

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Lib/htmllib.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,9 @@ def end_a(self):
9898
self.handle_data('[' + `self.inanchor` + ']')
9999
self.inanchor = 0
100100
#
101-
def start_header(self, attrs): pass
102-
def end_header(self): pass
101+
def start_html(self, attrs): pass
102+
def end_html(self): pass
103103
#
104-
# (head is the same as header)
105104
def start_head(self, attrs): pass
106105
def end_head(self): pass
107106
#

0 commit comments

Comments
 (0)