Add escape characters to fix text