support <HTML>, remove <HEADER>
This commit is contained in:
parent
0daa13b188
commit
2d95706f68
|
@ -98,10 +98,9 @@ class CollectingParser(HTMLParser):
|
||||||
self.handle_data('[' + `self.inanchor` + ']')
|
self.handle_data('[' + `self.inanchor` + ']')
|
||||||
self.inanchor = 0
|
self.inanchor = 0
|
||||||
#
|
#
|
||||||
def start_header(self, attrs): pass
|
def start_html(self, attrs): pass
|
||||||
def end_header(self): pass
|
def end_html(self): pass
|
||||||
#
|
#
|
||||||
# (head is the same as header)
|
|
||||||
def start_head(self, attrs): pass
|
def start_head(self, attrs): pass
|
||||||
def end_head(self): pass
|
def end_head(self): pass
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue