summaryrefslogtreecommitdiff
path: root/bs4/tests/test_htmlparser.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-02-15 17:03:37 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-02-15 17:03:37 -0500
commit87747b712cfe63d173332f06ee1ba2bf9adf9ce5 (patch)
tree1829d574032666de65230c2c9df6f1aa522c1b05 /bs4/tests/test_htmlparser.py
parentac197c5ad0ffe0795436cb54e0766640d12c6a31 (diff)
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.
Diffstat (limited to 'bs4/tests/test_htmlparser.py')
-rw-r--r--bs4/tests/test_htmlparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/tests/test_htmlparser.py b/bs4/tests/test_htmlparser.py
index 9ba7df7..ea94363 100644
--- a/bs4/tests/test_htmlparser.py
+++ b/bs4/tests/test_htmlparser.py
@@ -42,7 +42,7 @@ class TestHTMLParserTreeBuilder(TestLXMLBuilder):
"<p>A <meta> tag</p>", "<p>A <meta> tag</meta></p>")
self.assertSoupEquals(
- "<p>Foo<br/>bar</p>", "<p>Foo<br />bar</p>")
+ "<p>Foo<br/>bar</p>", "<p>Foo<br/>bar</p>")
def test_hex_entities_in_text(self):
# XXX This tests a workaround for a bug in HTMLParser.