aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/output.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/output.php')
-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\"";
}
}