[TYPO3-mvc] RFC: #7743: fluid should crop HTML right
Martin Kutschker
masi-no at spam-typo3.org
Fri May 28 20:17:05 CEST 2010
Felix Oertel schrieb:
>
> Solution:
> ---------
> With the attached patch, the viewHelper tries to distinguish if the
> string contains HTML and then calls cObj->cropHTML() instead.
>
> additional info:
> ----------------
> unfortunately there is no way to let cObj choose which method to use.
> usually you might call crop/cropHTML via stdWrap in TS, but then you
> have to specify "crop" or "cropHTML" yourself as well.
Which is IMHO the right way to do it? For me a "type" of "format" attribute would make more sense.
Possible values are "text" and "html". If you really want magic you could add an "auto" value.
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list