From 09f791c4e279f87c9445eb80a194c43208037f52 Mon Sep 17 00:00:00 2001 From: Dominik Eckelmann Date: Sat, 28 Jul 2012 14:00:46 +0200 Subject: fixed script blocks CDATA for ie on TPL_METAHEADER_OUTPUT --- inc/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc') 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'] = ""; + "\n/*!]]>*/"; echo '>',$attr['_data'],''; }else{ -- cgit v1.2.3