« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkExternal.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/linkExternal.js')
-rw-r--r--src/content/dependencies/linkExternal.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/content/dependencies/linkExternal.js b/src/content/dependencies/linkExternal.js
index ad8d4f23..841efda6 100644
--- a/src/content/dependencies/linkExternal.js
+++ b/src/content/dependencies/linkExternal.js
@@ -22,6 +22,11 @@ export default {
       mutable: false,
     },
 
+    attributes: {
+      type: 'attributes',
+      mutable: false,
+    },
+
     suffixNormalContent: {
       type: 'html',
       mutable: false,
@@ -178,6 +183,8 @@ export default {
         ], {[html.joinChildren]: ''});
     }
 
+    linkAttributes.add(slots.attributes);
+
     return html.tag('a', linkAttributes, linkContent);
   },
 };