diff --git a/script/lib/transifex.py b/script/lib/transifex.py index 24d05f651a41..5c2c66545338 100644 --- a/script/lib/transifex.py +++ b/script/lib/transifex.py @@ -246,7 +246,7 @@ def generate_xtb_content(lang_code, grd_strings, translations): translationbundle_tag.append(create_xtb_format_translation_tag(fingerprint, translation)) xml_string = lxml.etree.tostring(translationbundle_tag) - xml_string = HTMLParser.HTMLParser().unescape(xml_string.encode('utf-8')).replace('&', '&').encode('utf-8') + xml_string = HTMLParser.HTMLParser().unescape(xml_string.encode('utf-8')).encode('utf-8') xml_string = '\n\n' + xml_string return xml_string