diff options
Diffstat (limited to 'src/content')
| -rw-r--r-- | src/content/dependencies/generateFlashInfoPage.js | 5 | ||||
| -rw-r--r-- | src/content/dependencies/generateListAllAdditionalFilesChunk.js | 6 | ||||
| -rw-r--r-- | src/content/dependencies/transformContent.js | 5 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/content/dependencies/generateFlashInfoPage.js b/src/content/dependencies/generateFlashInfoPage.js index 39590832..9f18f19a 100644 --- a/src/content/dependencies/generateFlashInfoPage.js +++ b/src/content/dependencies/generateFlashInfoPage.js @@ -20,7 +20,10 @@ export default { query.urls = []; if (flash.page) { - query.urls.push(`https://homestuck.com/story/${flash.page}`); + query.urls.push({ + url: `https://homestuck.com/story/${flash.page}`, + annotation: null, + }); } if (!empty(flash.urls)) { diff --git a/src/content/dependencies/generateListAllAdditionalFilesChunk.js b/src/content/dependencies/generateListAllAdditionalFilesChunk.js index dff652f6..ddbaa69d 100644 --- a/src/content/dependencies/generateListAllAdditionalFilesChunk.js +++ b/src/content/dependencies/generateListAllAdditionalFilesChunk.js @@ -67,9 +67,9 @@ export default { : language.$(capsule, 'placeholderTitle')); workingOptions.title = - (links.length <= 1 - ? links[0].slot('content', titlePart) - : html.tag('b', titlePart)); + (links.length === 0 ? titlePart + : links.length === 1 ? links[0].slot('content', titlePart) + : html.tag('b', titlePart)); artistCredit.setSlots({ normalStringKey: capsule + '.credit', diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js index 62a547e4..b2d878ac 100644 --- a/src/content/dependencies/transformContent.js +++ b/src/content/dependencies/transformContent.js @@ -465,13 +465,10 @@ export default { {title: language.encapsulate('misc.external.opensInNewTab', capsule => language.$(capsule, { - link: + platform: language.formatExternalLink(link, { style: 'platform', }), - - annotation: - language.$(capsule, 'annotation'), }).toString())}, content); |