« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util/html.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/html.js')
-rw-r--r--src/util/html.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/html.js b/src/util/html.js
index a7b44ec..be26700 100644
--- a/src/util/html.js
+++ b/src/util/html.js
@@ -38,6 +38,10 @@ export const joinChildren = Symbol();
 // or when there are multiple children.
 export const noEdgeWhitespace = Symbol();
 
+export function blank() {
+  return [];
+}
+
 export function tag(tagName, ...args) {
   let content;
   let attributes;
@@ -408,7 +412,7 @@ export class Template {
             : item.valueOf()));
       return new Tag(null, null, contents).valueOf();
     } else {
-      return [];
+      return blank();
     }
   }