0

I have this Code:

<f:format.html>{article.text}</f:format.html>

My Problem is that if i have a Tag like object oder param in the {article.text.} The Code doesn't compile this an show me the normal text.

Is there a other possibility to prevent this ?

Thanks

zoom23
  • 694
  • 2
  • 10
  • 23

1 Answers1

0

I'm not sure what you mean by "show me the normal text", but the problem could be that the format.html view helper uses lib.parseFunc_RTE by default: http://git.typo3.org/TYPO3v4/CoreProjects/MVC/fluid.git/blob/HEAD:/Classes/ViewHelpers/Format/HtmlViewHelper.php#l86

So you could try to allow the tags with

lib.parseFunc_RTE.allowTags := addToList(object, param)
Troublesometimes
  • 462
  • 3
  • 12