From 6de583c4cab69cc12c39fabb92d07242f6340528 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 9 Nov 2010 13:39:43 +0100 Subject: [PATCH] Revert "do not strip cdata" This reverts commit 8bd0ebbea25649cb6c0aec2b9e786b81ec05c035. --- weboob/tools/parsers/lxmlparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/tools/parsers/lxmlparser.py b/weboob/tools/parsers/lxmlparser.py index 484395cf..34ffaee6 100644 --- a/weboob/tools/parsers/lxmlparser.py +++ b/weboob/tools/parsers/lxmlparser.py @@ -76,7 +76,7 @@ class LxmlHtmlParser(IParser): if encoding is None: parser = None else: - parser = lxml.html.HTMLParser(encoding=encoding, strip_cdata=False) + parser = lxml.html.HTMLParser(encoding=encoding) return lxml.html.parse(data, parser) def tostring(self, element):