Don't collapse newlines.
This causes index offset issues with any rich elements in the message. We could try to fix the offsets, or alternatively replace the collapsed newlines with spaces (to maintain the original offsets), but I don't think it's worth the effort since I'm not sure that it's a good idea to collapse newlines in the first place.
Showing
Please register or sign in to comment