[TYPO3-core] FYI48: #12899: Wrong usage of CDATA raise javascript error
Rudy Gnodde (WIND Internet)
rgn at windinternet.nl
Thu Dec 3 12:54:55 CET 2009
Ernesto Baschny [cron IT] wrote:
> Steffen Kamper schrieb:
> Which browser will rise this error? Commenting it out the way you did
> it: won't this make it non-xhtml anymore?
For XHTML // or /* ... */ is just seen as text, which is allowed in a
<script> tag. So this is completely XHTML valid.
Regards,
Rudy
More information about the TYPO3-team-core
mailing list