diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-12-19 12:12:07 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-12-19 13:25:16 -0400 |
commit | c60f682c9248d8537246e8f37a7fdced7a0bf06a (patch) | |
tree | 5434c8673abf166439b5dddfde6e8c9fcc528255 | |
parent | 9bb22cad44ef6a0a055823d77426a72d6f2a8d35 (diff) |
content: generatePreviousNextLink: harden, as above
-rw-r--r-- | src/content/dependencies/generatePreviousNextLink.js | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/content/dependencies/generatePreviousNextLink.js b/src/content/dependencies/generatePreviousNextLink.js index 1c1bf27c..afae1228 100644 --- a/src/content/dependencies/generatePreviousNextLink.js +++ b/src/content/dependencies/generatePreviousNextLink.js @@ -44,13 +44,15 @@ export default { } } - return slots.link.slots({ - tooltipStyle: 'browser', - color: false, - attributes, - - content: - language.$('misc.nav', slots.direction), + return html.resolve(slots.link, { + slots: { + tooltipStyle: 'browser', + color: false, + attributes, + + content: + language.$('misc.nav', slots.direction), + } }); }, }; |