diff --git a/discover_overlay/text_overlay.py b/discover_overlay/text_overlay.py index 50f49f0..99a337b 100644 --- a/discover_overlay/text_overlay.py +++ b/discover_overlay/text_overlay.py @@ -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