switch to comments as placeholder nodes (#2579)
This commit is contained in:
1 parent
30f6986283
commit
4cab834640
8 files changed
+29
-24
No files matched your search
@@ -34,7 +34,7 @@ fn render_template_node(node: &TemplateNode, out: &mut String) -> std::fmt::Resu
|
||||
write!(out, "</{tag}>")?;
|
||||
}
|
||||
TemplateNode::Text { text: t } => write!(out, "{t}")?,
|
||||
TemplateNode::Dynamic { id: _ } => write!(out, "<pre hidden />")?,
|
||||
TemplateNode::Dynamic { id: _ } => write!(out, "<!--placeholder-->")?,
|
||||
};
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user