- see footer for list info -<

...I've been using soEditor for a long time but problem is having to clean up the code it produces to make it XHTML compliant.

I use JTidy to tidy up the html generated by the MS dhtml edit control (soEditor and some others rely on this). Even if you get an editor which produces clean xhtml (new version of FCKEditor is supposed to), you'll still need something like JTidy to deal with rubbish people paste from elsewhere. Some editors will attempt to clean up on paste, but I've yet to find one that does a reliable job and you still have the problem of people entering html directly, either because their browser is not supported by your editor or they just use the source view yoke.


I can send you a copy of the code I use off-list if you want, or you can get it by downloading SpeckCMS from www.speckcms.com, there's a tag called spTidy that is called from the Html property.


Mark

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to