summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorMikhail I. Izmestev <izmmishao5@gmail.com>2009-04-15 09:26:41 +0200
committerMikhail I. Izmestev <izmmishao5@gmail.com>2009-04-15 09:26:41 +0200
commit26afa8741483efa55615f7d142d93d8c6222c018 (patch)
treed704471fcb5de381ea3c404f160e110d966b4ff1 /inc/template.php
parent4cdbf42135acba38266803168ad8fb3a5b3c5ba8 (diff)
downloadrpg-26afa8741483efa55615f7d142d93d8c6222c018.tar.gz
rpg-26afa8741483efa55615f7d142d93d8c6222c018.tar.bz2
always use full closing tag for scripts in meta headers
Ignore-this: ee650a5aea0a3e4451175fe6b380c3d6 darcs-hash:20090415072641-556be-b66af34e909df53c7b6f5365f64fc9e725e53368.gz
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index d4b28cad1..45b6b049e 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -372,7 +372,7 @@ function _tpl_metaheaders_action($data){
foreach($data as $tag => $inst){
foreach($inst as $attr){
echo '<',$tag,' ',buildAttributes($attr);
- if(isset($attr['_data'])){
+ if(isset($attr['_data']) || $tag == 'script'){
if($tag == 'script' && $attr['_data'])
$attr['_data'] = "<!--//--><![CDATA[//><!--\n".
$attr['_data'].