tweak: always add spacing comments between textnodes

This commit is contained in:
Jonathan Kelley committed 2022-01-07 00:37:04 -05:00
1 parent dbb6e9b4fe
commit b3a774b284
1 file changed
+1 -1
+1 -1
View File
@@ -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-->")?;
}