« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateTrackInfoPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/generateTrackInfoPage.js')
-rw-r--r--src/content/dependencies/generateTrackInfoPage.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/content/dependencies/generateTrackInfoPage.js b/src/content/dependencies/generateTrackInfoPage.js
index 041f6bbc..b5121386 100644
--- a/src/content/dependencies/generateTrackInfoPage.js
+++ b/src/content/dependencies/generateTrackInfoPage.js
@@ -346,10 +346,9 @@ export default {
           relations.releaseInfo,
 
           html.tag('p',
-            {
-              [html.onlyIfContent]: true,
-              [html.joinChildren]: '<br>',
-            },
+            {[html.onlyIfContent]: true},
+            {[html.joinChildren]: html.tag('br')},
+
             [
               sec.sheetMusicFiles &&
                 language.$('releaseInfo.sheetMusicFiles.shortcut', {
@@ -414,7 +413,11 @@ export default {
 
                   return (
                     html.tag('li',
-                      {style: colorVariables.slot('color', color).content},
+                      {style:
+                        colorVariables
+                          .slot('color', color)
+                          .content},
+
                       language.$(...parts, options)));
                 })),
           ],