From c1714ff55cd7eb08d88a213e9e981757e49ee604 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Fri, 14 Oct 2005 11:20:06 +0000 Subject: [PATCH] IE does not know about ' git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@101 839d8a87-29fc-0310-9880-83ba4fa771e5 --- include/platal/smarty.plugins.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/platal/smarty.plugins.inc.php b/include/platal/smarty.plugins.inc.php index 4c79fd1..b49132e 100644 --- a/include/platal/smarty.plugins.inc.php +++ b/include/platal/smarty.plugins.inc.php @@ -32,7 +32,7 @@ function escape_html($string) { if(is_string($string)) { - $transtbl = Array('<' => '<', '>' => '>', '"' => '"', '\'' => '''); + $transtbl = Array('<' => '<', '>' => '>', '"' => '"', '\'' => '''); return preg_replace("/&(?![A-Za-z]{0,4}\w{2,3};|#[0-9]{2,4};)/", "&" , strtr($string, $transtbl)); } else { return $string; -- 2.1.4