Escape formatting placeholders from chat messages being written to the console