aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-03 14:33:58 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-03 14:33:58 +0000
commit5a12bec47c334746fc7c4e8f2fa251d129d9d0ed (patch)
treecbd4739e859422ad67efd23a69d0f823183c6813
parent10aa37d5257292b3aff2f7fefb96f9c02b7fbe2b (diff)
downloadelgg-5a12bec47c334746fc7c4e8f2fa251d129d9d0ed.tar.gz
elgg-5a12bec47c334746fc7c4e8f2fa251d129d9d0ed.tar.bz2
Fixes #113
git-svn-id: https://code.elgg.org/elgg/trunk@1274 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/opendd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/opendd.php b/engine/lib/opendd.php
index ec1829bcc..7c8e15380 100644
--- a/engine/lib/opendd.php
+++ b/engine/lib/opendd.php
@@ -194,7 +194,7 @@
foreach ($this->attributes as $k => $v)
$attr .= ($v!="") ? "$k=\"$v\" " : "";
- $body = $this->getBody();
+ $body = htmlentities($this->getBody());
$tag = $this->getTagName();
$end = "/>";