aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/entities.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 4d2e17b56..7e3dcb628 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -161,6 +161,11 @@
if ((array_key_exists('guid', $this->attributes)) && ($name=='guid'))
return false;
+ // strip out tags from title
+ if ($name == 'title') {
+ $value = strip_tags($value);
+ }
+
$this->attributes[$name] = $value;
}
else