From 0b3dcf12d48362bb9847b2e6254a8de8196179db Mon Sep 17 00:00:00 2001 From: Alexandr Zolotarev Date: Fri, 12 Feb 2016 08:06:16 +0300 Subject: [PATCH] #8358 bug fix rss --- src/spicy/utils/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicy/utils/html.py b/src/spicy/utils/html.py index b326fef..bebba78 100755 --- a/src/spicy/utils/html.py +++ b/src/spicy/utils/html.py @@ -124,7 +124,7 @@ def __get__(self, inst, cls): setattr(inst, self.name, result) return result -CDATA_RE = re.compile(u'[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F%s]') +CDATA_RE = re.compile(u'[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F]') cdata = lambda s: '' % CDATA_RE.sub( ' ', s).replace(']]>', ']]]]>') # Expand ]]> to an escaped version that doesn't end CDATA block. We could