[TYPO3-core] FYI48: #12899: Wrong usage of CDATA raise javascript error

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Dec 3 13:27:29 CET 2009


Ernesto Baschny [cron IT] schrieb:

> (...)
> 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.

ok, besides my quick research which was obviously wrong and I thank you
all for the clearifying comments, I still want stick to the above, where
 I suggest to use the API call in t3lib_div to do the wrapping, which
currently does exactly what Steffen proposed and which seems to work fine.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list