« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/html.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/html.js b/src/util/html.js
index f1511d9d..19a7d126 100644
--- a/src/util/html.js
+++ b/src/util/html.js
@@ -177,8 +177,8 @@ export function tag(tagName, ...args) {
   return new Tag(tagName, attributes, content);
 }
 
-export function tags(content) {
-  return new Tag(null, null, content);
+export function tags(content, attributes = null) {
+  return new Tag(null, attributes, content);
 }
 
 export class Tag {