Small bug - backslash needs to be double written

That isn't a bug; the backslash is an escape character in Discourse.

If you click Editing & Formatting Tips above the post editor, it's one of the first things it discusses: