Ernesto Baschny [cron IT]
ernst at cron-it.de
Thu Dec 3 12:25:41 CET 2009
Steffen Kamper schrieb:
> This is an SVN patch request.
> Type: bugfix
> BT reference: http://bugs.typo3.org/view.php?id=12899
> Branches: trunk, 4_3
> in t3lib_tsStyleConfig::ext_getForm the CDATA is
> * have wrong closing tag
Which browser will rise this error? Commenting it out the way you did
it: won't this make it non-xhtml anymore?
As far as I researched, the best way to escape the cdata without caring
starting line: <!--//--><![CDATA[
ending line: //]]>
See  for a "full explanation". As soon as we find the "best way" to
handle this, we should add this to the CGL so that everybody knows how
to do it. Or even better instead of adding the escaping every time, call
the API function t3lib_div::wrapJS() and we can then later centrally
adapt it to our needs.
More information about the TYPO3-team-core