From 7f6a6055a9e7909787d5556e1ad791e2e52de112 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sun, 19 Dec 2021 11:26:08 +0100 Subject: [PATCH] Fix javascript/DOM quotting bug --- static/skin/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/skin/index.js b/static/skin/index.js index 033ae01f9..413aad469 100644 --- a/static/skin/index.js +++ b/static/skin/index.js @@ -51,7 +51,7 @@ fileSize /= (1000 ** quotient); return `${+fileSize.toFixed(2)} ${units[quotient]}`; }; - + const humanFriendlyTitle = (title) => { title = title.replace(/_/g, ' '); return htmlEncode(title[0].toUpperCase() + title.slice(1)); @@ -229,7 +229,7 @@ data.querySelectorAll('entry').forEach(entry => { const title = getInnerHtml(entry, 'title'); const value = getInnerHtml(entry, valueEntryNode); - optionStr += `