When (probably by copy-pasting code) you have a tabulator character in the wikitext, it will be displayed as small arrow, but the syntaxhighlight treats it as long tab and thus is not in sync with the actual text:
Either don't use the arrow as replacement, or decrease the tab width with CSS tab-size: 1 (plus browser prefixes).