As designed Linebreaks not removed in profile post comments

AlexT

Well-known member
#1
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.
 

Martok

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