diff --git a/components/com_tags/views/tags/tmpl/default_items.php b/components/com_tags/views/tags/tmpl/default_items.php
index ec8c73ecccdd0..c01115bc56fde 100644
--- a/components/com_tags/views/tags/tmpl/default_items.php
+++ b/components/com_tags/views/tags/tmpl/default_items.php
@@ -89,7 +89,7 @@
access)) && in_array($item->access, $this->user->getAuthorisedViewLevels())) : ?>
diff --git a/layouts/joomla/content/tags.php b/layouts/joomla/content/tags.php
index 42551e01f0f76..ef2a6e0016bd4 100644
--- a/layouts/joomla/content/tags.php
+++ b/layouts/joomla/content/tags.php
@@ -23,7 +23,7 @@
params); ?>
get('tag_link_class', 'label label-info'); ?>
-
+
escape($tag->title); ?>
diff --git a/modules/mod_tags_popular/tmpl/cloud.php b/modules/mod_tags_popular/tmpl/cloud.php
index 1a526ba528360..09d4881c2ad01 100644
--- a/modules/mod_tags_popular/tmpl/cloud.php
+++ b/modules/mod_tags_popular/tmpl/cloud.php
@@ -43,7 +43,7 @@
endif;
?>
-
+
title, ENT_COMPAT, 'UTF-8'); ?>
count; ?>
diff --git a/modules/mod_tags_popular/tmpl/default.php b/modules/mod_tags_popular/tmpl/default.php
index 6c5ee2bae1472..fb93c0ca9e446 100644
--- a/modules/mod_tags_popular/tmpl/default.php
+++ b/modules/mod_tags_popular/tmpl/default.php
@@ -18,7 +18,7 @@
-
-
+
title, ENT_COMPAT, 'UTF-8'); ?>
count; ?>
diff --git a/plugins/search/tags/tags.php b/plugins/search/tags/tags.php
index f026089bbafb8..09fd3e3e68a13 100644
--- a/plugins/search/tags/tags.php
+++ b/plugins/search/tags/tags.php
@@ -152,7 +152,7 @@ public function onContentSearch($text, $phrase = '', $ordering = '', $areas = nu
foreach ($rows as $key => $row)
{
- $rows[$key]->href = TagsHelperRoute::getTagRoute($row->id);
+ $rows[$key]->href = TagsHelperRoute::getTagRoute($row->slug);
$rows[$key]->text = ($row->description !== '' ? $row->description : $row->title);
$rows[$key]->text .= $row->note;
$rows[$key]->section = $section;