Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

do not auto escape the body of meta headers

darcs-hash:20061022134224-7ad00-f5c26c5104869719db3bf01e326e137eb8f4c725.gz
  • Loading branch information...
commit 1304d1dba5187fe59b0cdd72e5b1d09dd2603be3 1 parent 1882938
@splitbrain authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 inc/template.php
View
4 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 '/>';
}
Please sign in to comment.
Something went wrong with that request. Please try again.