« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/transformContent.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/transformContent.js')
-rw-r--r--src/content/dependencies/transformContent.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index 8488101..6903022 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -229,7 +229,7 @@ export default {
             const {
               link,
               style,
-              warning,
+              warnings,
               width,
               height,
               pixelate,
@@ -264,13 +264,9 @@ export default {
                     link: link ?? true,
                     width: width ?? null,
                     height: height ?? null,
+                    warnings: warnings ?? null,
                     thumb: slots.thumb,
 
-                    warnings:
-                      (warning
-                        ? warning.split(', ')
-                        : null),
-
                     attributes: [
                       {class: 'content-image'},