[opencms-dev] Opencms6: Cleanup HTML is rather drastic?

Frans Postma fpostma at xs4all.nl
Sat Mar 19 00:15:07 CET 2005


Clean-up html cleans up a bit too much in opencms in my opinion; try pasting this into your editor:

<FONT color=#00cc66>bla</FONT>
<span style="color: #00cc66">bla</span>

Now press the Clean-up-HTML button and you will be left with:

bla bla

I checked using the jtidy.jar and it doesn't appear to be the cause of this destructive behaviour. But the remaining regexps used
to clean those word o: tags can't be it either. Any ideas if this is actually expected behaviour??

(does seem weird considering that the WYSIWYG editor uses FONT tags itself for coloring text, shouldn't that be span/style
eventually?)

I don't want to file a bug in bugzilla if this is actually desired behaviour poorly understood by me ;-)

Frans




More information about the opencms-dev mailing list