aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-03-05 07:34:18 -0500
committerCash Costello <cash.costello@gmail.com>2013-03-05 07:34:18 -0500
commit597c0a4e519e14ba42c77b518a44789e3a8067b0 (patch)
tree4c21e494088299fbe83106017cf2300d81a67046 /engine/lib/metadata.php
parentd149c0038d335133ed1628c105328b1e7a6681ea (diff)
downloadelgg-597c0a4e519e14ba42c77b518a44789e3a8067b0.tar.gz
elgg-597c0a4e519e14ba42c77b518a44789e3a8067b0.tar.bz2
Fixes #5165 handling html tags passed as tags
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r--engine/lib/metadata.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index 2fa491963..35b7b4dfb 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -774,10 +774,10 @@ function string_to_tag_array($string) {
$ar = explode(",", $string);
$ar = array_map('trim', $ar);
$ar = array_filter($ar, 'is_not_null');
+ $ar = array_map('strip_tags', $ar);
return $ar;
}
return false;
-
}
/**