select libxml2.XML_PARSE_NONET option

This commit is contained in:
Sam Ruby 2007-08-12 15:51:27 -04:00
parent 6088647030
commit faa2981642

View File

@ -310,7 +310,7 @@ meme_feed.newTextChild(None, 'updated',
# parse the input
log.debug("Parse input")
doc=libxml2.parseDoc(sys.stdin.read())
doc=libxml2.readDoc(sys.stdin.read(), '', 'utf-8', libxml2.XML_PARSE_NONET)
# find the sidebar/footer
sidebar = options.get('sidebar','//*[@class="sidebar"]')