Skip to content

Commit

Permalink
#8358 bug fix rss
Browse files Browse the repository at this point in the history
  • Loading branch information
megabogus committed Feb 12, 2016
1 parent 33c62f2 commit 0b3dcf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spicy/utils/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -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[%s]]>' % CDATA_RE.sub(
' ', s).replace(']]>', ']]]]><![CDATA[>')
# Expand ]]> to an escaped version that doesn't end CDATA block. We could
Expand Down

0 comments on commit 0b3dcf1

Please sign in to comment.