Microsoft products are full of annoying features like this. Another example is Outlook and the way it removes arbitrary newlines from plain text emails.
Also: http://www.fourmilab.ch/webtools/demoroniser/
Choice quote: Rule of thumb--every time Microsoft use the word "smart," be on the lookout for something dumb