« get me outta code hell

content: transformContent: join tags w/o spaces in mode: inline - 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-10-08 10:31:19 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-08 10:31:19 -0300
commiteb193d85a27c5647127500f998aa39a6f32002d1 (patch)
tree3b6490911fed806b298de4373273d6c2469bf0be
parente41ff7b0f424b76f0c1b1143d59ddcb81a17a9b5 (diff)
content: transformContent: join tags w/o spaces in mode: inline
-rw-r--r--src/content/dependencies/transformContent.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index 9c1f952..bed1b8a 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -450,7 +450,10 @@ export default {
     // In inline mode, no further processing is needed!
 
     if (slots.mode === 'inline') {
-      return html.tags(contentFromNodes.map(node => node.data));
+      return (
+        html.tags(
+          contentFromNodes.map(node => node.data),
+          {[html.joinChildren]: ''}));
     }
 
     // Multiline mode has a secondary processing stage where it's passed...