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

Martin Kutschker Martin.Kutschker at blackbox.net
Thu Apr 6 16:32:46 CEST 2006


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 



More information about the TYPO3-team-core mailing list