aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/opendd.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/opendd.php b/engine/lib/opendd.php
index 5093cdee1..7ebd1445b 100644
--- a/engine/lib/opendd.php
+++ b/engine/lib/opendd.php
@@ -209,7 +209,7 @@
foreach ($this->attributes as $k => $v)
$attr .= ($v!="") ? "$k=\"$v\" " : "";
- $body = htmlentities($this->getBody());
+ $body = htmlentities($this->getBody(), NULL, 'UTF-8');
$tag = $this->getTagName();
$end = "/>";
@@ -310,7 +310,7 @@
$odd->setAttribute($k,$v);
// Body
- $odd->setBody(html_entity_decode($element->content));
+ $odd->setBody(html_entity_decode($element->content, NULL, 'UTF-8'));
}
return $odd;