[opencms-dev] Opencms6: Cleanup HTML is rather drastic?
Frans Postma
fpostma at xs4all.nl
Sat Mar 19 10:54:28 CET 2005
Yes, I used the CleanUp button while in source-mode. You can see the font codes vanish ;-) I'll try to find where/what removes
those tags. (prefer to file a bugreport with some sort of solution pointer)
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Bernd Wolfsegger
> Sent: zaterdag 19 maart 2005 5:29
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] Opencms6: Cleanup HTML is rather drastic?
>
> Hi,
>
> did you press the "togglesourcecode" button afterwards?
> Because in the WYSIWYG mode you see no tags.
>
> Sorry, just a question :)
>
> But you are right, because even font tags are partly changed.
> So when I had a font tag with color and class attribute, some
> time later only
> the size attribut was left ..., I think afterwards adding
> some text in front
> of the tag.
>
> Regards, Bernd
>
> On Saturday 19 March 2005 02:15, Frans Postma wrote:
> > 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
> >
> >
> >
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the
> list, please visit
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list