more html character replacements
This commit is contained in:
parent
3bd8fb13c2
commit
9eabef8abe
|
@ -183,8 +183,10 @@ class GoogleTranslate(Module):
|
||||||
|
|
||||||
# do some text conversion
|
# do some text conversion
|
||||||
translation = translation.replace('\\u0026quot;', '"')
|
translation = translation.replace('\\u0026quot;', '"')
|
||||||
|
translation = translation.replace('\\u0026amp;', '&')
|
||||||
translation = translation.replace('\\u003c', '<')
|
translation = translation.replace('\\u003c', '<')
|
||||||
translation = translation.replace('\\u003e', '>')
|
translation = translation.replace('\\u003e', '>')
|
||||||
|
translation = translation.replace('\\u0026#39;', '\'')
|
||||||
|
|
||||||
if replypath is None:
|
if replypath is None:
|
||||||
return translation
|
return translation
|
||||||
|
|
Loading…
Reference in New Issue