Commit 2d95706f authored by Guido van Rossum's avatar Guido van Rossum

support <HTML>, remove <HEADER>

parent 0daa13b1
...@@ -98,10 +98,9 @@ class CollectingParser(HTMLParser): ...@@ -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
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment