[Zope3-checkins]
SVN: Zope3/branches/fdrake-anguenot_better_xml_support_for_pt/src/zope/tal/htmltalparser.py
add note about need for encoding support
Fred L. Drake, Jr.
fdrake at gmail.com
Fri Oct 14 17:35:10 EDT 2005
Log message for revision 39457:
add note about need for encoding support
Changed:
U Zope3/branches/fdrake-anguenot_better_xml_support_for_pt/src/zope/tal/htmltalparser.py
-=-
Modified: Zope3/branches/fdrake-anguenot_better_xml_support_for_pt/src/zope/tal/htmltalparser.py
===================================================================
--- Zope3/branches/fdrake-anguenot_better_xml_support_for_pt/src/zope/tal/htmltalparser.py 2005-10-14 21:19:39 UTC (rev 39456)
+++ Zope3/branches/fdrake-anguenot_better_xml_support_for_pt/src/zope/tal/htmltalparser.py 2005-10-14 21:35:09 UTC (rev 39457)
@@ -102,10 +102,13 @@
msg = 'Tag <%s> is not allowed in <%s>' % (tag, tagstack[-1])
HTMLParseError.__init__(self, msg, position)
+
class HTMLTALParser(HTMLParser):
# External API
+ # XXX This needs to deal with non-ASCII data properly; it does not now.
+
def __init__(self, gen=None):
HTMLParser.__init__(self)
if gen is None:
More information about the Zope3-Checkins
mailing list