diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-08-26 20:09:43 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-08-26 20:09:43 +0200 |
commit | e1d60f58d6db29397d9f05e5c4704a97e46fa2d5 (patch) | |
tree | ff74138367a38bfad64878bacb3d1fb214ff05f7 /lib/tpl/default/detail.php | |
parent | 5953e88907368380d326c187b3d1071f575c7daf (diff) | |
download | rpg-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.php | 2 |
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()?> |