diff options
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 |
commit | eb193d85a27c5647127500f998aa39a6f32002d1 (patch) | |
tree | 3b6490911fed806b298de4373273d6c2469bf0be /src/content | |
parent | e41ff7b0f424b76f0c1b1143d59ddcb81a17a9b5 (diff) |
content: transformContent: join tags w/o spaces in mode: inline
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/transformContent.js | 5 |
1 files changed, 4 insertions, 1 deletions
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... |