On Thu, Feb 25, 2010 at 6:32 AM, Kevin Pepperman
...
> We need it to be raw text, and we have specific filtering for Meta
> descriptions, page titles etc..(eg. no " in meta description tags so the
> XHTML will validate)  --so our CMS limits what can be entered with a
> combination of jQuery and server side validations after submitting to a XHR.
> So I probably wont be able to use a full RTE for this situation.

I've seen this come up enough to toss another possible solution out there:

We're starting to use the Jericho HTML library for parsing tags in
CFEclipse, there is an example of "cleaning" bad markup there on the
site.

There's also an example of changing HTML into plain text, but with at
least some formatting, which could work as well.

I haven't really experimented with the HTML > text conversion, but the
cleaning stuff seems to be a pretty viable solution.

Just tossing it out there, as you could do the cleaning as part of a
custom tag or whatnot.

:den

-- 
The future belongs to those who prepare for it today.
    Malcolm 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331192
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to