[ZPT] CVS: Releases/Zope/lib/python/TAL - HTMLParser.py:1.21
Evan Simpson
evan@zope.com
Mon, 22 Oct 2001 13:30:15 -0400
Update of /cvs-repository/Releases/Zope/lib/python/TAL
In directory cvs.zope.org:/tmp/cvs-serv12665
Modified Files:
HTMLParser.py
Log Message:
Added missing declaration handler in HTMLParser that caused tests to fail.
=== Releases/Zope/lib/python/TAL/HTMLParser.py 1.20 => 1.21 ===
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): # <!