I noticed that, while typing out a question, the <!-- language -->
specifier caused different rendering in the question preview than when I published the question.
Specifically, omitting the new line between the <!-- ... -->
and the code caused the code to be rendered as though it wasn't indented (ie, the HTML was interpreted).
After I'd asked the question, the following rendered as "Bold":
<!-- language:html -->
<b>Bold</b>
while the following rendered as <b>Bold<b>
:
<!-- language:html -->
<b>Bold</b>
However, both of them rendered as <b>Bold</b>
in the preview below the new-question form, and it wasn't until I'd asked the question that I realized my HTML wasn't going to be escaped.
language-specifier
tag. Please retag if there is something more appropriate.