« get me outta code hell

content: generatePreviousNextLinks: don't wrap in html.tags - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-12 18:10:49 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-12 18:10:49 -0300
commit85b797fe83af8206d81286770551021bdc606cce (patch)
treede034536b8ff1989f7711b0498feb31744abdea4 /src/content
parent91f07746a29f11ea18ab30e29bc49867812e7403 (diff)
content: generatePreviousNextLinks: don't wrap in html.tags
This is mildly obnoxious.
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generatePreviousNextLinks.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generatePreviousNextLinks.js b/src/content/dependencies/generatePreviousNextLinks.js
index 5bdcc3ad..ab10b729 100644
--- a/src/content/dependencies/generatePreviousNextLinks.js
+++ b/src/content/dependencies/generatePreviousNextLinks.js
@@ -11,7 +11,7 @@ export default {
   },
 
   generate(slots, {html, language}) {
-    return html.tags([
+    return [
       !html.isBlank(slots.previousLink) &&
         slots.previousLink.slots({
           tooltip: true,
@@ -25,6 +25,6 @@ export default {
           attributes: {id: 'next-button'},
           content: language.$('misc.nav.next'),
         }),
-    ]);
+    ];
   },
 };