From c60f682c9248d8537246e8f37a7fdced7a0bf06a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 19 Dec 2024 12:12:07 -0400 Subject: content: generatePreviousNextLink: harden, as above --- src/content/dependencies/generatePreviousNextLink.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/content/dependencies/generatePreviousNextLink.js') 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), + } }); }, }; -- cgit 1.3.0-6-gf8a5