chat-formatting fix