diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-03-05 07:34:18 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-03-05 07:34:18 -0500 |
commit | 597c0a4e519e14ba42c77b518a44789e3a8067b0 (patch) | |
tree | 4c21e494088299fbe83106017cf2300d81a67046 /views/default/output/tagcloud.php | |
parent | d149c0038d335133ed1628c105328b1e7a6681ea (diff) | |
download | elgg-597c0a4e519e14ba42c77b518a44789e3a8067b0.tar.gz elgg-597c0a4e519e14ba42c77b518a44789e3a8067b0.tar.bz2 |
Fixes #5165 handling html tags passed as tags
Diffstat (limited to 'views/default/output/tagcloud.php')
-rw-r--r-- | views/default/output/tagcloud.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/output/tagcloud.php b/views/default/output/tagcloud.php index a212becd8..2fbf1cd0a 100644 --- a/views/default/output/tagcloud.php +++ b/views/default/output/tagcloud.php @@ -39,6 +39,8 @@ if (!empty($vars['tagcloud']) && is_array($vars['tagcloud'])) { $cloud = ''; foreach ($vars['tagcloud'] as $tag) { + $tag->tag = htmlspecialchars($tag->tag, ENT_QUOTES, 'UTF-8', false); + if ($cloud != '') { $cloud .= ', '; } |