« 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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/html.js b/src/util/html.js
index 2e3204f4..7fd2bcfe 100644
--- a/src/util/html.js
+++ b/src/util/html.js
@@ -1378,7 +1378,8 @@ export const isAttributeKey =
 export const isAttributeValue =
   oneOf(
     isString, isNumber, isBoolean, isArray,
-    isTag, isTemplate);
+    isTag, isTemplate,
+    validateArrayItems(item => isAttributeValue(item)));
 
 export const isAttributesAdditionPair = pair => {
   isArray(pair);