[ZPT] CVS: Zope3/lib/python/Zope/TAL/tests - test_htmlparser.py:1.17.14.2
Fred Drake Jr
fdrake@acm.org
Mon, 3 Dec 2001 11:43:00 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/TAL/tests
In directory cvs.zope.org:/tmp/cvs-serv10103
Modified Files:
Tag: Zope-3x-branch
test_htmlparser.py
Log Message:
Add a test that makes sure unclosed entity references are handled consitently.
=== Zope3/lib/python/Zope/TAL/tests/test_htmlparser.py 1.17.14.1 => 1.17.14.2 ===
])
+ def check_unclosed_entityref(self):
+ self._run_check("&entityref foo", [
+ ("entityref", "entityref"),
+ ("data", " foo"),
+ ])
+
def check_doctype_decl(self):
inside = """\
DOCTYPE html [