Kaydet (Commit) 073148c4 authored tarafından Fred Drake's avatar Fred Drake

Add a test that makes sure unclosed entity references are handled consitently.

üst f07125ee
......@@ -134,6 +134,12 @@ text
("data", "\n"),
])
def test_unclosed_entityref(self):
self._run_check("&entityref foo", [
("entityref", "entityref"),
("data", " foo"),
])
def test_doctype_decl(self):
inside = """\
DOCTYPE html [
......
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