From 98f9c57e12413d9a0ce5215efbd76e7caea9fa5f Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sat, 30 Oct 2021 18:44:29 +0200 Subject: [PATCH] Better use double-quote for HTML attributes --- static/skin/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static/skin/index.js b/static/skin/index.js index 0ea9313f7..09ca8db59 100644 --- a/static/skin/index.js +++ b/static/skin/index.js @@ -105,14 +105,14 @@ } divTag.innerHTML = `
-
-
+
+
${title}
${downloadLink ? `
Download ${humanFriendlyZimSize ? ` - ${humanFriendlyZimSize}
`: ''}` : ''}
-
${description}
-
${language.substr(0, 2).toUpperCase()}
-
${tagHtml}
+
${description}
+
${language.substr(0, 2).toUpperCase()}
+
${tagHtml}
`; return divTag; } @@ -229,7 +229,7 @@ data.querySelectorAll('entry').forEach(entry => { const title = getInnerHtml(entry, 'title'); const value = getInnerHtml(entry, valueEntryNode); - optionStr += ``; + optionStr += `