[TYPO3-mvc] htmlspecialchars in FLUID

Steffen Kamper info at sk-typo3.de
Sat Jul 25 00:16:22 CEST 2009


Julian Kleinhans schrieb:
> Hi Steffen,
> 
> 
> Steffen Kamper schrieb:
>> Hi,
>>
>> how can i deactivate HSC for a value? I want to do
>> $this->view->assign('loader', '<di id="loader"></div>');
>>
>> i saw it's possible but not how.
>>
>> vg Steffen
> 
> 
> i think u can use this:
> 
>  <f:format.html>{loader}</f:format.html>
> 
> 
> 

yeah - unfortunally not, as:

$this->view->assign('loader', '<p>HELLO</p>');

and

<f:format.html>{loader}</f:format.html>

leads to fatal error:

Tx_Fluid_Core_Parser_Exception: Not all tags were closed! in ...

Sebastian? :)

vg Steffen


More information about the TYPO3-project-typo3v4mvc mailing list