From 1dcc36deca5bcc6e845a227927d847acfd520807 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 7 Mar 2021 12:02:23 +0300 Subject: [PATCH] make rendered labels clickable --- js/Article.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/js/Article.js b/js/Article.js index 5f695561c..ba08e3656 100644 --- a/js/Article.js +++ b/js/Article.js @@ -144,10 +144,15 @@ const Article = { ).join(", ") : `${__("no tags")}`}`; }, renderLabels: function(id, labels) { - return `${labels.map((label) => ` - ${App.escapeHtml(label[1])}` - ).join("")}`; + return ` + ${labels.map((label) => ` + + ${App.escapeHtml(label[1])} + ` + ).join("")} + `; }, renderEnclosures: function (enclosures) { return `