In code blocks, if you have an empty list:
*edit, also happened to the icode. So it's not the code tags, it's the editor that's stripping out the brackets.
Does it happen if there's even just space there? [ ]
**edit 2, nope, if there's a space between the brackets, they're not stripped. It's only literally
[]
, and then preview the post, the editor will then remove the empty list. items = ["spam"] # fine items = # uh ohIf you post without previewing, there is no issue. Which means I've looked a post over, then posted it, only to realize what was actually posted was broken code.
*edit, also happened to the icode. So it's not the code tags, it's the editor that's stripping out the brackets.
Does it happen if there's even just space there? [ ]
**edit 2, nope, if there's a space between the brackets, they're not stripped. It's only literally
[]
that's an issue.