- Re fixed sanitizing
This commit is contained in:
parent
e6045a9244
commit
00ebe352ac
1 changed files with 5 additions and 5 deletions
|
|
@ -303,9 +303,9 @@ class TextOverlayWindow(OverlayWindow):
|
|||
"""
|
||||
Sanitize a text message so that it doesn't intefere with Pango's XML format
|
||||
"""
|
||||
string.replace("&", "&")
|
||||
string.replace("<", "<")
|
||||
string .replace(">", ">")
|
||||
string.replace("'", "'")
|
||||
string.replace("\"", """)
|
||||
string = string.replace("&", "&")
|
||||
string = string.replace("<", "<")
|
||||
string = string .replace(">", ">")
|
||||
string = string.replace("'", "'")
|
||||
string = string.replace("\"", """)
|
||||
return string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue