From: Brion Vibber Date: Thu, 14 Dec 2006 23:24:06 +0000 (+0000) Subject: * (bug 8264) Fix JavaScript global vars for XHTML mode X-Git-Tag: 1.31.0-rc.0~54896 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=6944909a8c7e052d5070516adaf6f33eaa44568d;p=lhc%2Fweb%2Fwiklou.git * (bug 8264) Fix JavaScript global vars for XHTML mode Don't use to wrap JavaScript code! This ACTUALLY MAKES THE CODE DISAPPEAR when using an XML parser. Instead, wrapped in /**/ to ensure XML compatibility for contents. We've long since given up on super-ancient browsers that don't know about \n"; + $r .= "/*]]>*/\n"; return $r; }