Reputation: 29
I made site package, on TYPO3, by by official documentations, everything ok, but only one small problem, when I watch the pages on the browser, I see the HTML TAGs, I have not answer, I tried already done package, same problem.... what to do??
Upvotes: 0
Views: 192
Reputation: 10800
This always happens when you prepare HTML into a fluid-variable and output that variable directly.
In your case you do not assign to a variable, but you output the result from the viewhelper, which contains HTML-markup, directly.
To avoid that the HTML-markup is shown (escaped) you need to use an additional viewhelper: f:format.raw
either:
<f:format.raw><f:cObject typoscriptObjectPath="..." data="..."/></f:format.raw>
or:
{f:cObject(typoscriptObjectpath:'...', data:'...')->f:format.raw()}
Upvotes: 1