From e674b186ff755eaa8fb26f5885ac997e0ff0330e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 20 Nov 2022 13:28:35 -0400 Subject: bind and htmlify rest of misc-templates --- src/page/album.js | 4 +--- src/page/flash.js | 9 +++------ 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'src/page') diff --git a/src/page/album.js b/src/page/album.js index 1cceead9..a92d9a06 100644 --- a/src/page/album.js +++ b/src/page/album.js @@ -219,9 +219,7 @@ export function write(album, {wikiData}) { }, [ hasAdditionalFiles && - generateAdditionalFilesShortcut(album.additionalFiles, { - language, - }), + generateAdditionalFilesShortcut(album.additionalFiles), hasCommentaryEntries && language.$('releaseInfo.viewCommentary', { diff --git a/src/page/flash.js b/src/page/flash.js index c123c1be..6def3050 100644 --- a/src/page/flash.js +++ b/src/page/flash.js @@ -72,13 +72,10 @@ export function write(flash, {wikiData}) { html.tag('li', language.$('trackList.item.withArtists', { track: link.track(track), - by: `${ + by: html.tag('span', {class: 'by'}, language.$('trackList.item.withArtists.by', { - artists: getArtistString( - track.artistContribs - ), - }) - }`, + artists: getArtistString(track.artistContribs), + })), })))), ] : [], -- cgit 1.3.0-6-gf8a5