From bf1b1034710c0f4542e6425713b97ba90c00dd61 Mon Sep 17 00:00:00 2001 From: xtian7489 Date: Tue, 21 May 2024 14:38:06 -0300 Subject: [PATCH] fix: build don't accept ` --- lib/admin/admin-tags/template.jade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/admin/admin-tags/template.jade b/lib/admin/admin-tags/template.jade index a3e1314..d0b79a2 100644 --- a/lib/admin/admin-tags/template.jade +++ b/lib/admin/admin-tags/template.jade @@ -15,7 +15,8 @@ a.list-group-item(href=urlBuilder.for('admin.tags.id', {id: tag.id, forum: forum.name}), class="tag-wrapper") .tag-name.d-flex - const id = 'fa fa-' + tag.image + - const color = 'background-color:'+tag.color i(class=id, aria-hidden="true") span.tag-title= tag.name - div.ml-3(class="tag-color", style=`background-color:${tag.color}`) + div.ml-3(class="tag-color", style=color)