xenocrat / chyrp-lite

An ultra-lightweight blogging engine, written in PHP.
https://chyrplite.net/
BSD 3-Clause "New" or "Revised" License
402 stars 42 forks source link

[bug] After a few comments get posted, CSS breaks somehow #270

Closed roughnecks closed 1 month ago

roughnecks commented 1 month ago

Hi,

I don't have many info on this.. it just happened today when someone posted a few comments on my blog and I was going to reply.

https://i.imgur.com/XHpqG9N.jpeg

If I go along and comment on that, it's breaking the visualization as well. I'll update with a new image as soon as I reply. At first I thought it was my custom theme, but then I set it back to Topaz and also deleted twig cache to no avail.

If you need the URL, just ask. Thanks

roughnecks commented 1 month ago

I see that person using <code> and <blockquote> tags without even closing them.

It's definitely that. If I fix the tags and reload the page, everything comes back "normal".

xenocrat commented 1 month ago

If you have Markdown enabled on your blog, you might want to disallow all HTML in the comments settings. Limiting your commenters to Markdown will prevent unclosed blockquotes, code, etc.

roughnecks commented 1 month ago

Okay, I just did that! Thanks 👍