[TYPO3-mvc] fluid: prevent htmlspecialchar'ing for output
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Wed Jan 19 18:37:20 CET 2011
Jochen Rieger wrote:
> Hi fluid-folks,
>
> is there a way to output an assigned value without htmlspecialchar'ing it?
>
> Eg if you build some kind of list elements containing already <li> tags
> in the string (yes, it's dirty ;) ) and hand them over to the view.
>
> Using the format.html viewhelper does not work either as it will put a
> <p> tag around each <li> (line in the string).
>
> Any ideas? Or is there something like a format.raw viewhelper?!
>
> Regards,
> Jochen
Hoi Jochen!
The "cleanest" solution I know is this:
<f:format.html parseFuncTSPath="">{section}</f:format.html>
Regards,
Thomas
More information about the TYPO3-project-typo3v4mvc
mailing list