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 then this is something that needs to be investigated quite urgently as a worrying change of behaviour