more html character replacements

This commit is contained in:
Brian S. Stephan 2010-07-26 19:02:57 -05:00
parent 3bd8fb13c2
commit 9eabef8abe
1 changed files with 2 additions and 0 deletions

View File

@ -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