From 3b280cf0fdb3b08ab91a32e491f73bdb0ee2c96c Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 13 Feb 2011 12:34:09 +0000 Subject: Fixed #2218 finished up the encoding issues by turning of double encoding git-svn-id: http://code.elgg.org/elgg/trunk@8199 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/confirmlink.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/output/confirmlink.php') diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php index 28facc26c..9325f0eb6 100644 --- a/views/default/output/confirmlink.php +++ b/views/default/output/confirmlink.php @@ -21,7 +21,7 @@ $vars['href'] = elgg_add_action_tokens_to_url(elgg_normalize_url($vars['href']), $text = elgg_get_array_value('text', $vars, ''); if ($encode) { - $text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8'); + $text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8', false); } $vars['onclick'] = "return confirm('" . addslashes($confirm) . "')"; -- cgit v1.2.3