[FLOW3-general] How to include CDATA exception in fluid view?

Sebastian Kurfürst sebastian at typo3.org
Sun Apr 10 08:03:57 CEST 2011


Hi,

You can write a little ViewHelper which outputs the CDATA:

public function render() {
	return '<![CDATA[' . $this->renderChildren() . ']]>';

Fluid interprets CDATA as it is a way to tell the parser that it should
treat the code as plain text.

Greets, Sebastian


PS: Please use your real name when posting into the newsgroups, it's
part of our guidelines.


More information about the FLOW3-general mailing list