[TYPO3-core] RFC: Fix bug #6821: Empty paragraph-tags with attributes are not editable in RTE
Stanislas Rolland
stanislas.rolland at fructifor.ca
Tue Jan 15 23:48:47 CET 2008
Ernesto Baschny [cron IT] a écrit :
>
> Just tested, and it works. So +1.
>
> But I wonder though if it is not enough just to compare
> $divSplit[$k]=='<p> </p>' to empty it, and leave it untouched on any
> other situation. So that ugly preg_match isn't really needed anymore and
> the code is more readable. It might not make sense, but stuff like
> '<p><strong> </strong></p>' will also be stripped out with the patch.
>
Committed as submitted, but I will do more testing with the suggestion.
Regards,
Stanislas
More information about the TYPO3-team-core
mailing list