Andreas Hartmann wrote:
Michael Wechner wrote:

Jörn Nettingsmeier wrote:

Doug Chestnut wrote:

Hey, should we use tidy for some of the other editor usecases as well? (one-form, forms)



i'm against this, as it will hide bugs.
if an editor produces unclean output, it should be fixed.


well, fixed if possible with a warning and otherwise rejected with an exception.


I guess what Jörn meant was that one should fix the editor instead
of cleaning up its output.
In our case, the fckeditor is the module (we can't include fckeditor source due to license issues) and tidy was the fix.

I agree that a warning would be nice in the logs. Not sure if it is logged, I will take a look. An end user could care less if tidy replaces   with   when they pressed the spacebar in the editor.

If Lenya isn't strict on this, then it will always cause problems in the long run.


I'd even add validation at repository level (i.e., when something
is written to a document source).
+1

-- Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to