From 9eabef8abe4523215c6a6b92ebda2bcc2b09f0a8 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Mon, 26 Jul 2010 19:02:57 -0500 Subject: [PATCH] more html character replacements --- dr.botzo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dr.botzo.py b/dr.botzo.py index 14fb5bc..f7b40ee 100755 --- a/dr.botzo.py +++ b/dr.botzo.py @@ -183,8 +183,10 @@ class GoogleTranslate(Module): # do some text conversion translation = translation.replace('\\u0026quot;', '"') + translation = translation.replace('\\u0026amp;', '&') translation = translation.replace('\\u003c', '<') translation = translation.replace('\\u003e', '>') + translation = translation.replace('\\u0026#39;', '\'') if replypath is None: return translation