diff options
Diffstat (limited to 'src/util/html.js')
-rw-r--r-- | src/util/html.js | 3 |
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); |