From c7c6f173ed393591207aec96656a46c9b9f40a09 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 9 Apr 2004 15:15:11 +0000 Subject: [PATCH] always protect js with cdata enclosed in /* */- doesn't harm for html, helps to validate xhtml (which has to be text/html currently because browsers choke otherwise) --- includes/Skin.php | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 93fc975a97..71becedd05 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -2468,13 +2468,8 @@ class Skin { "key"=>"R" ) ); - $toolbar =""; + + $toolbar.="/*]]>*/"; return $toolbar; } } -- 2.20.1