From 87747b712cfe63d173332f06ee1ba2bf9adf9ce5 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Wed, 15 Feb 2012 17:03:37 -0500 Subject: Added a kind of hacky way to interpret the restriction class='foo bar'. Stop generating a space before the slash that closes an empty-element tag. --- bs4/tests/test_html5lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bs4/tests/test_html5lib.py') diff --git a/bs4/tests/test_html5lib.py b/bs4/tests/test_html5lib.py index dcbd204..d972b2d 100644 --- a/bs4/tests/test_html5lib.py +++ b/bs4/tests/test_html5lib.py @@ -137,7 +137,7 @@ class TestHTML5BuilderInvalidMarkup(TestLXMLBuilderInvalidMarkup): "foo
bar
") def test_empty_element_tag_with_contents(self): - self.assertSoupEquals("
foo
", "
foo
") + self.assertSoupEquals("
foo
", "
foo
") def test_doctype_in_body(self): markup = "

onetwo

" -- cgit v1.2.3