From d6574654c174dea55e0c8d0a42ef2eff9d3d1afd Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 26 Aug 2011 08:37:12 +0000 Subject: [PATCH] fix problem with double encoding html special chars (introduced with rev36143) --- phpgwapi/inc/class.html.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index 35790fabc1..2bc57fb913 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -1146,8 +1146,8 @@ class html { $url = self::link($url,$vars); } - //echo "

html::a_href('".htmlspecialchars($content)."','$url',".print_r($vars,True).") = ".self::link($url,$vars)."

"; - return ''.$content.''; + //echo "

html::a_href('".self::htmlspecialchars($content)."','$url',".print_r($vars,True).") = ".self::link($url,$vars)."

"; + return ''.$content.''; } /**