You can fix that by
(a) posting code in code blocks, and
(b) using "disable smileys" in Advanced mode