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

Martin Kutschker masi-no at spam-typo3.org
Tue Jun 1 09:44:18 CEST 2010


Sebastian Kurfürst schrieb:
> Hey,
> 
>> i want f:format.crop to crop my string right ... wether it's text or
>> html i don't want to care for.
> I agree with Felix here. I don't see a need for a switch, it should just
> do the correct thing.
> 
> I'd suggest to build in a switch when one *really* needs it (so in real
> life, when we have a use-case).

Odd, but so be it. Sorry for repeating myself but why does FLUID need to guess the content when the
template author (site admin) already knows if the data is HTML or plain text? I don't fear a wrong
guess, but for me it's unnecessary magic.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list