« get me outta code hell

new html.noEdgeWhitespace tag option - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/misc-templates.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-09-15 23:28:55 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-09-15 23:28:55 -0300
commite9cb50f4c92e88739fb3af99ea6abc1f06826e3c (patch)
tree43b2d959af1e4823414bf996a4b80f743fb607ea /src/misc-templates.js
parent28b1a728f429c4c04ee3a16584f8433a1d312c7c (diff)
new html.noEdgeWhitespace tag option
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r--src/misc-templates.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js
index b5a635d..09c8f43 100644
--- a/src/misc-templates.js
+++ b/src/misc-templates.js
@@ -101,7 +101,10 @@ export function getArtistString(
 
       const externalLinks = hasExternalPart &&
         html.tag('span',
-          {class: 'icons'},
+          {
+            [html.noEdgeWhitespace]: true,
+            class: 'icons'
+          },
           language.formatUnitList(
             urls.map(url => iconifyURL(url, {language}))));