« get me outta code hell

content: generateCoverGrid: accept html for names/info - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-24 11:48:30 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-24 11:48:30 -0300
commit63c60d09afd7f0b697e4931c5d6cfbfef39021f3 (patch)
tree9eae424e79c4dc77e6b93c8b8d00fefbf4b78e7a
parent450f51216a10026c2175de1acc08b11a093a3466 (diff)
content: generateCoverGrid: accept html for names/info
-rw-r--r--src/content/dependencies/generateCoverGrid.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateCoverGrid.js b/src/content/dependencies/generateCoverGrid.js
index e9f770f0..20130c5e 100644
--- a/src/content/dependencies/generateCoverGrid.js
+++ b/src/content/dependencies/generateCoverGrid.js
@@ -6,8 +6,8 @@ export default {
   slots: {
     images: {validate: v => v.arrayOf(v.isHTML)},
     links: {validate: v => v.arrayOf(v.isHTML)},
-    names: {validate: v => v.arrayOf(v.isString)},
-    info: {validate: v => v.arrayOf(v.isString)},
+    names: {validate: v => v.arrayOf(v.isHTML)},
+    info: {validate: v => v.arrayOf(v.isHTML)},
 
     lazy: {validate: v => v.oneOf(v.isWholeNumber, v.isBoolean)},
   },