Voxelmanip Forums
olive olive
Posted on 2026-10-26 16:20 (edited 2026-10-26 16:36) Link
So in >>956 I am using code blocks a bunch, the first one has some sort of double-escaping mistake with < appearing? I'm also writing the open tag and the first line of code on separate lines, which causes an extra blank newline to be inserted. It would be nice if that got stripped.
A blank line also seems to get inserted after the closing code tag, which is a bit funky.

I'd love if we got the ability to do html <small> :) (Which discord calls "-#"), I've grown to like that a lot for putting my over-use of parenthesised I-must-also-mention-this things in..

edit: huh? I can just use html elements???? that's uh.. and if I type out the html entity reference by hand it actually gets applied and not escaped?
ROllerozxa ROllerozxa
Posted on 2026-10-26 16:37 Link
In general the BBCode parser is a pile of regex crap so it's difficult to substantially improve it much without also breaking other things in the process. However the "newline at the beginning of code blocks" seems pretty easy to fix.

Also yes the forum supports HTML. There are a lot of filters in place to make sure that is reasonably safe by neutralising various dangerous tags, and also employing a CSP to prevent any arbitrary JavaScript execution. Unfortunately that also means double-escaping HTML tags in code blocks.