Hey all, happy new year.
I've been pouring through SilverStripe's code for a couple of hours tonight, trying to figure out where/why this is happening, and so far coming up short:
It appears that whatever pulls the first paragraph of a blog entry is also injecting line breaks ("<br />") every 50-60 characters before echoing it to the screen. I've been trying a series of grep searches trying to determine where/why this is occurring in the code, but not having much luck yet.
At first glance, it appears that whatever is building $ParagraphSummary within /blog/Includes/BlogSummary.ss is the culprit. I've been trying to work backwards through the code to see where it's pulling the blog content and determining what the "first paragraph" content is, and going from there, and thought maybe someone would already know where this is happening.
In themes where the blog summary page gives you more than 350px to show your summary paragraphs, this injection really messes up your layout. Viewing the full blog article obviously doesn't inject these line breaks, so I'm curious (a) why this was done for the summary only, and (b) where to "fix" this.
If I figure it out before someone can point me in the right direction, I'll post a follow-up.