tweak: always add spacing comments between textnodes
This commit is contained in:
1 parent
dbb6e9b4fe
commit
b3a774b284
1 file changed
+1
-1
@@ -144,7 +144,7 @@ impl<'a> TextRenderer<'a, '_> {
|
||||
) -> std::fmt::Result {
|
||||
match &node {
|
||||
VNode::Text(text) => {
|
||||
if *last_node_was_text && self.cfg.pre_render {
|
||||
if *last_node_was_text {
|
||||
write!(f, "<!--spacer-->")?;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user