summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/translator.rb3
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