The 2024 Wheel Reinvention Jam just concluded. See the results.

Broken code block in featured comment

Hello,

I just stumbled upon this bug:



The block is properly filled when we go in the blog post to read the comment.

Edited by Guntha on Reason: Initial post
In addition to this, is it intended that the front page doesn't show a preview of the content of most posts ?
Guntha
Hello,

I just stumbled upon this bug:



The block is properly filled when we go in the blog post to read the comment.


Hey there, Guntha! Thanks for the bug report. We'll be sure to take a look at this. The BBCode parser was recently replaced and improved by the team, so there are perhaps some issues (like this one) that have yet to be ironed out.

mrmixer
In addition to this, is it intended that the front page doesn't show a preview of the content of most posts ?


I don't believe this is intended behavior, though I definitely don't think this is a new issue. We'll take a look at this as well.
The code block bug is still present.
Another bug related to code blocks, this time in the "View all posts on HMN" page:



In the actual post, there is a code block in the location of the "1 2 3 4 5 ...."
These are the shenanigans you get when you generate HTML and then try to make excerpts by chopping off your HTML after some point.

I think it's pretty clear what the fix will eventually be (make an alternative bbcode renderer for just excerpts) but I don't think it will be a high priority for a bit, with the library and some other tasks at the foreground. I'll for sure put it on our list though so we can get to it eventually.

Thanks for the reports!