Skip to main content

print

Function print 

Source
pub fn print(nodes: &[TNode]) -> String
Expand description

Print a template tree back to LGX source. parse(print(t)) yields t again (spans aside), and printing is idempotent; text and attribute values are escaped so that no character can be re-read as markup or a hole.