<HTML>
<HEAD>
<TITLE>Re: [consulting] HTML Character Sanitization Solution</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hey, let me know what you come up with. I have no problem creating sites with xhtml... But have had trouble with clients inserting their own data that causes validation errors (current issue is the facebook badge).<BR>
<BR>
Good luck,<BR>
<BR>
Holly Ferree, Graphic Designer, BFA<BR>
hferree@gmail.com<BR>
<a href="http://www.designbyholly.com/">http://www.designbyholly.com/</a><BR>
<BR>
<BR>
<BR>
On 4/22/10 12:23 PM, "Travis Carden" <travis.carden@gmail.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hello, all. I've been scouring the web for a solution to a longstanding problem of mine, and I wonder if anyone here knows of a solution. Since long before I came to Drupal I've dealt with the problem of clients copying and pasting text into their sites from other web pages or office products and introducing high ASCII characters like curly quotes, ellipses, em dashes, etc. I'm not concerned with invalid HTML. There are plenty of great solutions for that. HTML Purifier might do some character cleaning, but my current client needs to put iframes in body content, and HTML Purifier strips those out. Does anybody know of anything to help out here? Even if there's a library or project outside of Drupal that I could write a module for—perhaps create an input filter for it or something—I'd be all over it. Thanks all.<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
consulting mailing list<BR>
consulting@drupal.org<BR>
<a href="http://lists.drupal.org/mailman/listinfo/consulting">http://lists.drupal.org/mailman/listinfo/consulting</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
<BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>