[TYPO3-mvc] RFC: #7743: fluid should crop HTML right

Bastian Waidelich bastian at typo3.org
Tue Jun 1 17:35:48 CEST 2010


Felix Oertel wrote:

Hi Felix

>> http://forge.typo3.org/issues/show/7743
> committed to trunk rev. 2324

still not happy with the magic here, but I don't want to be the blocker 
here.
Apart from that you should always compare type safe:

if (strip_tags($stringToTruncate) !== $stringToTruncate) {

instead of

if (strip_tags($stringToTruncate) != $stringToTruncate) {

Best,
Bastian


More information about the TYPO3-project-typo3v4mvc mailing list