diff --git a/include/functions.php b/include/functions.php
index 32ec8815f395b6973d2a9f5adfb3837ca22b6af5..f7d2e9083dd43b80aa7156a25e4af727633d2008 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3412,7 +3412,7 @@
 			$maxtags = min(5, count($tags));
 
 			for ($i = 0; $i < $maxtags; $i++) {
-				$tags_str .= "<a class=\"tag\" href=\"#\" onclick=\"viewfeed('".$tags[$i]."'\")>" . $tags[$i] . "</a>, ";
+				$tags_str .= "<a class=\"tag\" href=\"#\" onclick=\"viewfeed('".$tags[$i]."')\">" . $tags[$i] . "</a>, ";
 			}
 
 			$tags_str = mb_substr($tags_str, 0, mb_strlen($tags_str)-2);