aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 17:52:23 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-01 17:52:23 +0000
commit38c773d6215fd99e0d9fc0d4a38bf28a4f1a3d2f (patch)
treefe6c4cd9c38fb4f175c6c2f9d5c480f3fd7b31e6 /engine/lib
parentb8af0a52b1e403fefb5675ae420733304284da5d (diff)
downloadelgg-38c773d6215fd99e0d9fc0d4a38bf28a4f1a3d2f.tar.gz
elgg-38c773d6215fd99e0d9fc0d4a38bf28a4f1a3d2f.tar.bz2
stop double encoding attributes in output/input elements
git-svn-id: http://code.elgg.org/elgg/trunk@7801 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/output.php2
1 files changed, 1 insertions, 1 deletions
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\"";
}
}