Previous Message
Next Message

Paste plain text to clean HTML

Sent by BJ on 11 June 2005 03:03


"If you want to keep your code
clean, without those weird tags and classes inserted by some softwares that
allow you to paste a plain text straight to HTML is there any other
alternative than doing like I've done?"

I use a two step process.  First I run this tool, which is free software-
http://www.w3.org/Tools/Text2HTML.html

Then I put the result, which is html 4.0, through html tidy online, and convert to xhtml 1.0
transitional.
http://infohound.net/tidy/

I eyeball it after the final convert, but have never had a problem with the result, since the first
tool generates remarkably clean html, and the second tool does a fine job of converting that html to
xhtml.  Definitely has saved me a bunch of drudgery.

Good luck!
bj


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: