projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324c3c8
)
use the view's encoding when calling htmlentities
author
Chuck Hagenbuch
<chuck@horde.org>
Sat, 30 May 2009 15:30:01 +0000
(11:30 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Sat, 30 May 2009 15:30:01 +0000
(11:30 -0400)
framework/View/lib/Horde/View/Helper/Text.php
patch
|
blob
|
history
diff --git
a/framework/View/lib/Horde/View/Helper/Text.php
b/framework/View/lib/Horde/View/Helper/Text.php
index
435258d
..
1d97c28
100644
(file)
--- 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,
'utf-8'
);
+ return htmlentities($var, ENT_QUOTES,
$this->_view->getEncoding()
);
}
/**