Never copy content from sources which adds it's own markup. For example if you're copying content from openoffice or word to your static HTML site in body tag. Then make sure you strip out it's editor coding. This code will make more changes to the content.So if you are trying to add neat code to your content then you already ruined it by having extra code from other editors.
| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Keep Your Codes Neat!
Started by KansukeKojima, Feb 20 2008 07:39 PM
11 replies to this topic
#12
Posted 20 November 2010 - 10:23 AM
mahesh2k, on 14 November 2010 - 11:51 AM, said:
Never copy content from sources which adds it's own markup. For example if you're copying content from openoffice or word to your static HTML site in body tag. Then make sure you strip out it's editor coding. This code will make more changes to the content.So if you are trying to add neat code to your content then you already ruined it by having extra code from other editors.
I agree, the way I deal with this problem, is I always copy from somewhere and when you paste something, you usually acquire not only text, but formatting too, to avoid it, I just usually paste into Notepad2 with UTF-8 encoding, cut it into where I want and the formating is stripped and only regular text is available.
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users















