From d136144236e6ee112462572b24a5fdb30125af20 Mon Sep 17 00:00:00 2001 From: chriskl Date: Sat, 19 Apr 2003 09:28:39 +0000 Subject: [PATCH] don't htmlspecialchars on already html encoded strings --- classes/Misc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/classes/Misc.php b/classes/Misc.php index ccee1948..6dabd24d 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -2,7 +2,7 @@ /** * Class to hold various commonly used functions * - * $Id: Misc.php,v 1.22 2003/04/18 09:15:55 chriskl Exp $ + * $Id: Misc.php,v 1.23 2003/04/19 09:28:39 chriskl Exp $ */ class Misc { @@ -143,11 +143,13 @@ if (!isset($_no_output)) { // Commented out, as we're not XHTML compliant yet! + //header('Content-Type: text/xml'); //echo "\n"; + //echo "\n"; echo "\n"; echo "\n"; echo "", htmlspecialchars($appName); - if ($title != '') echo " - ", htmlspecialchars($title); + if ($title != '') echo " - {$title}"; echo "\n"; echo "\n"; -- 2.39.5