From f400a43640e7106d181d55365a9617c3d12e5891 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 29 Dec 2023 22:59:20 -0400 Subject: content: misc content syntax cleanup, mostly attribute merging --- src/content/dependencies/generateTrackInfoPage.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/content/dependencies/generateTrackInfoPage.js') 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]: '
', - }, + {[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))); })), ], -- cgit 1.3.0-6-gf8a5