aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/xml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/xml.php b/engine/lib/xml.php
index cbc936555..f691b2475 100644
--- a/engine/lib/xml.php
+++ b/engine/lib/xml.php
@@ -58,7 +58,7 @@
} else if (gettype($value) == "boolean") {
$output .= $value ? "true" : "false";
} else {
- $output .= htmlentities($value);
+ $output .= htmlspecialchars($value, ENT_NOQUOTES, 'UTF-8');
}
$output .= "</$key>\n";
@@ -103,7 +103,7 @@
} else if (gettype($value) == "boolean") {
$output .= $value ? "true" : "false";
} else {
- $output .= htmlentities($value);
+ $output .= htmlspecialchars($value, ENT_NOQUOTES, 'UTF-8');
}
$output .= "</$item>\n";