Escape text in rawText