summaryrefslogtreecommitdiff
path: root/modules/tag
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag')
-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;