unwrapping doesn't work correctly if quotes are encded as entities

This commit is contained in:
ldolse 2010-09-15 15:46:04 +08:00
parent 19d7b21165
commit 70998858f1

View File

@ -18,7 +18,6 @@ convert_entities = functools.partial(entity_to_unicode,
u'<' : '&lt;',
u'>' : '&gt;',
u"'" : '&apos;',
u'"' : '&quot;',
u'&' : '&amp;',
})
_span_pat = re.compile('<span.*?</span>', re.DOTALL|re.IGNORECASE)