From eb193d85a27c5647127500f998aa39a6f32002d1 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 8 Oct 2023 10:31:19 -0300 Subject: content: transformContent: join tags w/o spaces in mode: inline --- src/content/dependencies/transformContent.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/content/dependencies') diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js index 9c1f9529..bed1b8a7 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... -- cgit 1.3.0-6-gf8a5