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

Stanislas Rolland stanislas.rolland at fructifor.ca
Thu Apr 6 16:54:52 CEST 2006


Hi Masi,

The current code strips tags and then compares with  . If the test 
is satisfied, all content is removed.
If the content contained an image tag and  , the test is satisfied 
and all content is removed.
The patch does the same test but additionally requires that the content 
should not contain an image tag.

Regards,
Stanislas

Martin Kutschker a écrit :
> Stanislas Rolland <stanislas.rolland at fructifor.ca> writes on 
> Thu, 06 Apr 2006 16:13:19 +0200 (METDST):
>
>   
>> Type: Bugfix Description: When a
>> paragraph contains only an image and a non-breakable space, RTE
>> transformation removes the image.
>>     
>
>
> If I read the code correctly all tags are lost, as the result of strip_tags() is matched against &nbsp;
>
> I don't know what is the reason for the code, but the solution to check against <img> doesn't look right to me.
>
> Masi 
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
>
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060406/2656f776/attachment.html 


More information about the TYPO3-team-core mailing list