diff options
-rw-r--r-- | inc/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php index 5b6260155..78d9dd748 100644 --- a/inc/template.php +++ b/inc/template.php @@ -393,9 +393,9 @@ function _tpl_metaheaders_action($data){ echo '<',$tag,' ',buildAttributes($attr); if(isset($attr['_data']) || $tag == 'script'){ if($tag == 'script' && $attr['_data']) - $attr['_data'] = "<!--//--><![CDATA[//><!--\n". + $attr['_data'] = "/*<![CDATA[*/". $attr['_data']. - "\n//--><!]]>"; + "\n/*!]]>*/"; echo '>',$attr['_data'],'</',$tag,'>'; }else{ |