summaryrefslogtreecommitdiff
path: root/lxml_test.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2009-04-09 08:17:14 -0400
committerLeonard Richardson <leonard.richardson@canonical.com>2009-04-09 08:17:14 -0400
commiteca26d328adc60a7e0abb5edfa925b2ef73dbf89 (patch)
treeee8ab280d45cd5d1886c3b801a11265037e4c0e5 /lxml_test.py
parent95b59dd7b8709e8fb003bcdc4973682483006a4f (diff)
Moved almost all the code to BeautifulStoneSoup. Fixed up docstrings.
Diffstat (limited to 'lxml_test.py')
-rw-r--r--lxml_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lxml_test.py b/lxml_test.py
index 99375dd..77c04e8 100644
--- a/lxml_test.py
+++ b/lxml_test.py
@@ -9,5 +9,5 @@ soup = BeautifulSoup("<foo>bar</foo>", builder=builder)
print soup.prettify()
builder = LXMLBuilder(parser_class=etree.HTMLParser, self_closing_tags=["br"])
-soup = BeautifulSoup("<html><head><title>test<body><h1>page<br />title</h1>", builder=builder)
+soup = BeautifulSoup("<html><head><title>test<body><h1>page<script>foo<b>bar</script><br />title</h1>", builder=builder)
print soup.prettify()