summaryrefslogtreecommitdiff
path: root/lib/tpl/default/detail.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-08-26 20:09:43 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-08-26 20:09:43 +0200
commite1d60f58d6db29397d9f05e5c4704a97e46fa2d5 (patch)
treeff74138367a38bfad64878bacb3d1fb214ff05f7 /lib/tpl/default/detail.php
parent5953e88907368380d326c187b3d1071f575c7daf (diff)
downloadrpg-e1d60f58d6db29397d9f05e5c4704a97e46fa2d5.tar.gz
rpg-e1d60f58d6db29397d9f05e5c4704a97e46fa2d5.tar.bz2
strip tags from title #883
This patch no longer uses htmlspecialchars on $conf['title'] when used in the page title - instead strip_tags is applied. This streamlines the use of $conf['title'] darcs-hash:20060826180943-7ad00-c8cc155c1e92fad05b85f77841834f782cbf6281.gz
Diffstat (limited to 'lib/tpl/default/detail.php')
-rw-r--r--lib/tpl/default/detail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tpl/default/detail.php b/lib/tpl/default/detail.php
index 98e6ab713..2330e2005 100644
--- a/lib/tpl/default/detail.php
+++ b/lib/tpl/default/detail.php
@@ -18,7 +18,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
<?php echo hsc(tpl_img_getTag('IPTC.Headline',$IMG))?>
- [<?php echo hsc($conf['title'])?>]
+ [<?php echo strip_tags($conf['title'])?>]
</title>
<?php tpl_metaheaders()?>