Meta Descriptions Contain New Line Characters

Affected version
2.2.7+
It seems like meta descriptions are being pulled straight from the thread description without any new line characters being removed etc, which is causing the meta descriptions to look a little weird. Is this intentional or just something that wasn't taken into account?

I've looked into replacing new line characters myself in a template modification but it seems to detect "\n" characters literally, instead of as a new line, so they aren't getting removed as you would expect them to.

You can find an example of this behaviour in the following thread https://xenforo.com/community/threads/conditional-statements.47199/

Thanks
 
Top