From faa29816424d2342554d968192dab18562140919 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Sun, 12 Aug 2007 15:51:27 -0400 Subject: [PATCH] select libxml2.XML_PARSE_NONET option --- filters/mememe.plugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filters/mememe.plugin b/filters/mememe.plugin index 8b4b126..fa422e5 100644 --- a/filters/mememe.plugin +++ b/filters/mememe.plugin @@ -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"]')