Sunday, January 17, 2010

Formatted Code - Internet Explorer's Copy Issue

Not a new thing but just for the record: copying formatted text from a web-page in Internet Explorer to plane editors as Notepad or Notepad++ leads to a problem - all line breaks and/or indentations are lost in spite of preserving them with <pre> </pre> tags.

A way around is to paste it into WordPad first and then copy from WordPad to any other editor you want. There is no such a trouble when FireFox is used either in Windows or Linux.


Post a Comment