Commit 8eea6b70 authored by Evan Simpson's avatar Evan Simpson

Added missing declaration handler in HTMLParser that caused tests to fail.

parent bd6a5f53
......@@ -158,6 +158,8 @@ class HTMLParser(markupbase.ParserBase):
self.clear_cdata_mode()
elif _contains_at(rawdata, "<!--", i): # <!--
k = self.parse_comment(i)
elif _contains_at(rawdata, "<!", i): # <!
k = self.parse_declaration(i)
elif _contains_at(rawdata, "<?", i): # <?
k = self.parse_pi(i)
elif _contains_at(rawdata, "<?", i): # <!
......
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