« 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
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/html.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/html.js b/src/util/html.js
index 4e243f7d..5687bba3 100644
--- a/src/util/html.js
+++ b/src/util/html.js
@@ -572,6 +572,10 @@ export class Attributes {
             ])),
       ]));
   }
+
+  [inspect.custom]() {
+    return `Attributes <${this.toString() || 'no attributes'}>`;
+  }
 }
 
 export function resolve(tagOrTemplate) {