The text was auto formatted according to the formatting rules defined in syntax definition of current document. To disable this feature you can un-check Format after every paste flag in Tools→Options→Formatting.