On Thu, Aug 4, 2011 at 10:11 PM, Bryan Stevenson wrote:
> Well OK....I'll come in with the unpopular vote then....DON'T STRIP
> HTML!

> I have always found that the text you are left with will NOT look nice
> to the person receiving it.

As always that depends on the quality of the input. If you have
properly written HTML and you:
- remove everything outside the body;
- remove script tags including content;
- remove style tags including content;
- replace anchors with their href;
- remove all tags;
- collapse whitespace;
- rewrap with a flowed algorithm;
the content will look pretty OK.

Jochem


-- 
Jochem van Dieten
http://jochem.vandieten.net/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346545
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to