From 03b4ad42399a7f41c58a84b14f186797e469d873 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Thu, 6 Sep 2012 14:08:59 +1200 Subject: [PATCH] BeautifulSoup unescapes HTML for you --- plugins/fact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/fact.py b/plugins/fact.py index 47ec3de..91d40ff 100755 --- a/plugins/fact.py +++ b/plugins/fact.py @@ -23,7 +23,7 @@ def fact(inp, say=False, nick=False): fact = ''.join(response.find(text=True)) if fact: - fact = http.unescape(unicode(fact)).strip() + fact = fact.strip() break else: if attempts > 2: