[TYPO3-mvc] fluid: prevent htmlspecialchar'ing for output

Dustin Kinney dustin at kinney.ws
Wed Jan 19 17:27:39 CET 2011


If you reached the dirty point already you can abuse the translate 
viewhelper :)

<f:translate key="somekeythatdoesntexist" default="{yourvariable}" 
htmlEscape="false" />

even dirtier, but who cares :P

Kind Regards,
Dustin


Am 19.01.11 17:11, schrieb Jochen Rieger:
> 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
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


More information about the TYPO3-project-typo3v4mvc mailing list