Skip to content
Snippets Groups Projects
Commit 09f791c4 authored by Dominik Eckelmann's avatar Dominik Eckelmann
Browse files

fixed script blocks CDATA for ie on TPL_METAHEADER_OUTPUT

parent ebe6179c
No related branches found
No related tags found
No related merge requests found
......@@ -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{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment