mirror of https://github.com/python/cpython
Add test that demonstrates SGML-style handling of processing
instructions.
This commit is contained in:
parent
243152384b
commit
fafd56f439
|
@ -101,6 +101,9 @@ class HTMLParserTestCase(TestCaseBase):
|
|||
self._run_check("<?processing instruction>", [
|
||||
("pi", "processing instruction"),
|
||||
])
|
||||
self._run_check("<?processing instruction ?>", [
|
||||
("pi", "processing instruction ?"),
|
||||
])
|
||||
|
||||
def test_simple_html(self):
|
||||
self._run_check("""
|
||||
|
|
Loading…
Reference in New Issue