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

Xavier Perseguers typo3 at perseguers.ch
Sat May 29 10:55:43 CEST 2010


Hey,

> Am 28.05.10 23:42, schrieb Xavier Perseguers:
>> There's enough magic and there'll always be some edge-cases where it
>> does not what is wanted.
>
> You think of this kind of cases, in which you want your text to be
> cropped in the middle of an html tag? something like
>
> <img src="http://images.google.com/?q=fooBa...
>
> ;-)
>
> Normally I'm totally with you, too much magic is contraproductive ...
> but in cropping text I think it's obvious what happens.

Without thinking too much, what about a view that shows a listing of HTML snippets and use part of it as "teaser"? The view itself takes the teaser (cropped with the crop view) and renders it with 
htmlentities()?

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-project-typo3v4mvc mailing list