diff --git a/core/scrapertools.py b/core/scrapertools.py index 7d47fb06..08e32108 100644 --- a/core/scrapertools.py +++ b/core/scrapertools.py @@ -103,6 +103,8 @@ def unescape(text): from Fredrik Lundh http://effbot.org/zone/re-sub.htm#unescape-html """ + if not ('&' in text and ';' in text): + return text def fixup(m): text = m.group(0)