As designed Linebreaks not removed in profile post comments


Well-known member
XF removes any line breaks before storing profile posts (in XenForo_DataWriter_DiscussionMessage_ProfilePost::_messagePreSave()). The same is not true for profile post comments. I don't see how this could be intentional, plus it could potentially confuse users.


Well-known member
I presumed it was intentional because of the increased character count in comments. Longer comments may require line breaks to make for easier reading.