hi doug i also saw this prob and i was not sure how to solve it. some ideas came to my mind.
simple but maybe not good enough: there is a plugin for fckeditor called CleanUp. it cleans the code with help of a javascript. another maybe to sophisticated solution: implementing tidy, maybe as a module. but maybe your way is just the right way between this two ideas. WDYT? simon On Die, 2006-02-14 at 16:37 +0000, [EMAIL PROTECTED] wrote: > Author: chestnut > Date: Tue Feb 14 08:37:15 2006 > New Revision: 377760 > > URL: http://svn.apache.org/viewcvs?rev=377760&view=rev > Log: > fckeditor seems to put allot of in the source which doesn't validate. > It didn't appear that this was something > configurable in the fckeditor. > > Modified: > > lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java > > Modified: > lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java > URL: > http://svn.apache.org/viewcvs/lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java?rev=377760&r1=377759&r2=377760&view=diff > ============================================================================== > --- > lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java > (original) > +++ > lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java > Tue Feb 14 08:37:15 2006 > @@ -99,7 +99,8 @@ > String encoding = request.getCharacterEncoding(); > String content = "<?xml version=\"1.0\" encoding=\"" + encoding + > "\"?>\n" > + addNamespaces(namespaces, getParameterAsString("content")); > - > + // ToDo: set replacements in an properties file > + content = content.replaceAll(" "," "); > saveDocument(encoding, content); > } > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Simon Litwan [EMAIL PROTECTED] Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
