« get me outta code hell

content: transformContent: pass right params to transformName - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-05-26 14:08:34 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-05-26 14:08:34 -0300
commit270622e7984732178217f0d4e6de2e30ea74aedc (patch)
tree3b1ccc21f8dda6af384bffe55f97022a518377c0 /src/content/dependencies
parentd0a398d51bf9bb63a53aa356425fa6b8a46202f2 (diff)
content: transformContent: pass right params to transformName
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/transformContent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index e9e07bea..751c58c1 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -115,7 +115,7 @@ export default {
             data.label =
               enteredLabel ??
                 (transformName && data.thing.name
-                  ? transformName(data.thing.name)
+                  ? transformName(data.thing.name, node, content)
                   : null);
 
             data.hash = enteredHash ?? null;