From: Chuck Hagenbuch Date: Sat, 30 May 2009 15:31:13 +0000 (-0400) Subject: call htmlspecialchars, not htmlentities X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e01e95dc501a0b05f6f73725bd4f7d67cf9b2990;p=horde.git call htmlspecialchars, not htmlentities --- diff --git a/framework/View/lib/Horde/View/Helper/Text.php b/framework/View/lib/Horde/View/Helper/Text.php index 1d97c28a3..6b308b4f9 100644 --- a/framework/View/lib/Horde/View/Helper/Text.php +++ b/framework/View/lib/Horde/View/Helper/Text.php @@ -47,7 +47,7 @@ class Horde_View_Helper_Text extends Horde_View_Helper_Base */ public function h($var) { - return htmlentities($var, ENT_QUOTES, $this->_view->getEncoding()); + return htmlspecialchars($var, ENT_QUOTES, $this->_view->getEncoding()); } /**