diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/translator.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/rbot/plugins/translator.rb b/data/rbot/plugins/translator.rb index 8617c321..ca0ecc9a 100644 --- a/data/rbot/plugins/translator.rb +++ b/data/rbot/plugins/translator.rb @@ -203,7 +203,8 @@ class GoogleTranslator < Translator if response["responseStatus"] != 200 raise Translator::NoTranslationError, response["responseDetails"] else - response["responseData"]["translatedText"] + translation = response["responseData"]["translatedText"] + return Utils.decode_html_entities(translation) end end end |