[TYPO3-core] Fix bugtracker issue 3051:RTE removesimages underspecial conditions when saving
Martin Kutschker
Martin.Kutschker at blackbox.net
Thu Apr 6 18:04:38 CEST 2006
Stanislas Rolland <stanislas.rolland at fructifor.ca> writes on
Thu, 06 Apr 2006 17:40:49 +0200 (METDST):
>
> Martin Kutschker a écrit :
>
> > I understood. But I question why now only img-tags are handled.
>
> Because if after stripping the span tag (or any other tag that has a
> closing tag) all that remains is a non-breakable space, you want to
> clean it off as well as the useless markup also.
Ah, so all tags without a closing tag are lost, not only img-tags (eg br, applet, ...).
I guess it's a bit late to introduce a real fix, that knows which tags are not closed. Or is the content in ALL cases xhtml at the moment of the check?
Masi
More information about the TYPO3-team-core
mailing list