[TYPO3-core] Fix bugtracker issue 3051:RTE removesimages underspecial conditions when saving

Stanislas Rolland stanislas.rolland at fructifor.ca
Thu Apr 6 18:28:00 CEST 2006


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?
>   
img|br|hr|input|area|base|link|meta|param|applet

We do not want to keep br. hr will be outside any paragraph. applet is 
not supported by the RTE. Which other ones do you want to keep?

Stanislas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060406/059cfa9e/attachment.htm 


More information about the TYPO3-team-core mailing list