summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-10-22 15:42:24 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-10-22 15:42:24 +0200
commit1304d1dba5187fe59b0cdd72e5b1d09dd2603be3 (patch)
tree4d81eeabaddc2b9a09557b3e1d432afb94501201
parent18829381465e518a65e285578ee67a3daf88de98 (diff)
downloadrpg-1304d1dba5187fe59b0cdd72e5b1d09dd2603be3.tar.gz
rpg-1304d1dba5187fe59b0cdd72e5b1d09dd2603be3.tar.bz2
do not auto escape the body of meta headers
darcs-hash:20061022134224-7ad00-f5c26c5104869719db3bf01e326e137eb8f4c725.gz
-rw-r--r--inc/template.php4
1 files 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 <andi@splitbrain.org>
*/
@@ -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']),'</',$tag,'>';
+ echo '>',$attr['_data'],'</',$tag,'>';
}else{
echo '/>';
}