Skip to main content

expand_template_includes

Function expand_template_includes 

Source
fn expand_template_includes(
    root: &Path,
    text: &str,
    depth: usize,
    remaining: &mut usize,
) -> Option<String>
Expand description

Expands app-owned HTML fragments before binding values, with bounded depth, reads and output. Canonical paths must stay within the templates directory.