Register
handmade.network»Forums»Site Feedback»Broken code block in featured comment
44 posts
Broken code block in featured comment
1 year, 6 months ago Edited by Guntha on Sept. 11, 2018, 12:05 p.m. Reason: Initial post
Hello,

I just stumbled upon this bug:



The block is properly filled when we go in the blog post to read the comment.
Simon Anciaux
736 posts
Broken code block in featured comment
1 year, 6 months ago
In addition to this, is it intended that the front page doesn't show a preview of the content of most posts ?
Ryan Fleury
183 posts / 1 project

Handmade Network lead and developer of The Melodist

Broken code block in featured comment
1 year, 6 months ago
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.

Handmade Network lead and developer of The Melodist
Simon Anciaux
736 posts
Broken code block in featured comment
1 year, 1 month ago
The code block bug is still present.
44 posts
Broken code block in featured comment
1 month ago
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 ...."
Ben Visness
47 posts

HMN technical staff, Handmade Math contributor, web developer, etc.

Broken code block in featured comment
1 month ago
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!