summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2012-04-30 15:20:40 -0700
committerBharat Mediratta <bharat@menalto.com>2012-04-30 15:20:40 -0700
commit608d8f663672f7b273177efb49844df532f43408 (patch)
tree03998ad91fd686d2794b32251f426c933934992d /modules/tag/helpers
parentf488384a7b56b1e9511fa23d3ac359de64901213 (diff)
Fix #1843.
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag_event.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_event.php b/modules/tag/helpers/tag_event.php
index 26876d83..d4f1c757 100644
--- a/modules/tag/helpers/tag_event.php
+++ b/modules/tag/helpers/tag_event.php
@@ -149,7 +149,8 @@ class tag_event_Core {
static function info_block_get_metadata($block, $item) {
$tags = array();
foreach (tag::item_tags($item) as $tag) {
- $tags[] = "<a href=\"{$tag->url()}\">{$tag->name}</a>";
+ $tags[] = "<a href=\"{$tag->url()}\">" .
+ html::clean($tag->name) . "</a>";
}
if ($tags) {
$info = $block->content->metadata;