Syntax highlighting is turning everything purple after an underscore, even if that underscore is in the middle of a word or followed by whitespace. I believe the rule is that the underscore has to be the start of the line or be prefaced with whitespace to count as markdown - otherwise they're just text to be rendered undecorated, not interpreted as italicized.