From 38c773d6215fd99e0d9fc0d4a38bf28a4f1a3d2f Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 1 Jan 2011 17:52:23 +0000 Subject: stop double encoding attributes in output/input elements git-svn-id: http://code.elgg.org/elgg/trunk@7801 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/output.php') diff --git a/engine/lib/output.php b/engine/lib/output.php index 8df4bf089..862487b29 100644 --- a/engine/lib/output.php +++ b/engine/lib/output.php @@ -178,7 +178,7 @@ function elgg_format_attributes(array $attrs) { $val = implode(' ', $val); } - $val = htmlspecialchars($val); + $val = htmlspecialchars($val, ENT_QUOTES, 'UTF-8', false); $attributes[] = "$attr=\"$val\""; } } -- cgit v1.2.3