summaryrefslogtreecommitdiff
path: root/chimere/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/utils.py')
-rw-r--r--chimere/utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/chimere/utils.py b/chimere/utils.py
index c86bb0b..d6a6152 100644
--- a/chimere/utils.py
+++ b/chimere/utils.py
@@ -1141,8 +1141,7 @@ class HtmlXsltManager(ImportManager):
doc, errors = tidy_document(main_page)
dom = etree.HTML(doc, getattr(etree, self.PARSER)())
else:
- soup = BeautifulSoup(data, 'xml')
- main_page = soup.prettify()
+ main_page = data
dom = etree.XML(main_page.encode('utf-8'), getattr(
etree, self.PARSER)())
try: