From 1304d1dba5187fe59b0cdd72e5b1d09dd2603be3 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 22 Oct 2006 15:42:24 +0200 Subject: do not auto escape the body of meta headers darcs-hash:20061022134224-7ad00-f5c26c5104869719db3bf01e326e137eb8f4c725.gz --- inc/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/template.php b/inc/template.php index 7dd7e91cb..0321efce3 100644 --- a/inc/template.php +++ b/inc/template.php @@ -267,7 +267,7 @@ function tpl_metaheaders($alt=true){ * encoded automatically so they should be provided as is in the $data array. * * For tags having a body attribute specify the the body data in the special - * attribute '_data' + * attribute '_data'. This field will NOT BE ESCAPED automatically. * * @author Andreas Gohr */ @@ -276,7 +276,7 @@ function _tpl_metaheaders_action($data){ foreach($inst as $attr){ echo '<',$tag,' ',buildAttributes($attr); if(isset($attr['_data'])){ - echo '>',htmlspecialchars($attr['_data']),''; + echo '>',$attr['_data'],''; }else{ echo '/>'; } -- cgit v1.2.3