[#12626] Fixes multi-line support in webchat