diff --git a/dr.botzo.py b/dr.botzo.py index 4b9334c..14fb5bc 100755 --- a/dr.botzo.py +++ b/dr.botzo.py @@ -180,6 +180,12 @@ class GoogleTranslate(Module): translation = content[start_idx:] end_idx = translation.find('"}, "') translation = translation[:end_idx] + + # do some text conversion + translation = translation.replace('\\u0026quot;', '"') + translation = translation.replace('\\u003c', '<') + translation = translation.replace('\\u003e', '>') + if replypath is None: return translation else: