From ec444785a35722778ad188a66fef483cc93d7bbb Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sun, 20 Feb 2011 08:41:38 -0500 Subject: Added an empty-element tag test. --- tests/test_html5lib.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/test_html5lib.py') diff --git a/tests/test_html5lib.py b/tests/test_html5lib.py index 336f9a5..021c603 100644 --- a/tests/test_html5lib.py +++ b/tests/test_html5lib.py @@ -91,6 +91,9 @@ class TestHTML5BuilderInvalidMarkup(TestLXMLBuilderInvalidMarkup): ('
' '
')) + def test_empty_element_tag_with_contents(self): + self.assertSoupEquals("
foo
", "
foo
") + def test_doctype_in_body(self): markup = "

onetwo

" self.assertSoupEquals(markup, "

onetwo

") -- cgit v1.2.3