1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Linebreaks not removed in profile post comments

Discussion in 'Resolved Bug Reports' started by AlexT, Oct 25, 2014.

  1. AlexT

    AlexT 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.
  2. Martok

    Martok 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.
    AlexT likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    It is indeed intentional.
  4. AlexT

    AlexT Well-Known Member

    Ahh, thanks. Makes sense.

Share This Page