Fix extra space getting added when rendering nodes and children.
Showing
1 changed file
with
1 additions
and
3 deletions
... | @@ -31,8 +31,6 @@ const nextDebug = debug ? debug - 1 : 0 | ... | @@ -31,8 +31,6 @@ const nextDebug = debug ? debug - 1 : 0 |
31 | : node.type === TEXT_NODE ? <Fragment set:html={node.value}/> | 31 | : node.type === TEXT_NODE ? <Fragment set:html={node.value}/> |
32 | : node.type === ELEMENT_NODE ? ( | 32 | : node.type === ELEMENT_NODE ? ( |
33 | node.isSelfClosingTag ? <Name {...attributes}/> | 33 | node.isSelfClosingTag ? <Name {...attributes}/> |
34 | : <Name {...attributes}> | 34 | : <Name {...attributes}><Children parent={node} children={node.children} debug={nextDebug} replacers={replacers} slotHandler={slotHandler}/></Name> |
35 | <Children parent={node} children={node.children} debug={nextDebug} replacers={replacers} slotHandler={slotHandler}/> | ||
36 | </Name> | ||
37 | ) : '' | 35 | ) : '' |
38 | } | 36 | } | ... | ... |
-
Please register or sign in to post a comment