test: escape_xml
This commit is contained in:
@@ -37,7 +37,7 @@ def escape_xml(text):
|
||||
text = text.replace('<', '<')
|
||||
text = text.replace('>', '>')
|
||||
text = text.replace('"', '"')
|
||||
text = text.replace('"', ''')
|
||||
text = text.replace("'", ''')
|
||||
return text
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user