Are you using the new version of Notepad?
It seems unlikely that Notepad would provide this sort of 'helpful' conversion - that is usually the preserve of MS Word, which is why you should never mix MS Word with storing/displaying VBA (or any) code.
If it was done by the new version of Notepad...