-
-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
Hey, everybody!
When using regular partials, as well as inline partials, I get a “stack overflow” error, although nesting is obviously limited. This is probably some internal bug.
fn test_hs() {
let mut hs = Handlebars::new();
hs.register_template_string("primary", "{{> @partial-block }}").unwrap();
hs.register_template_string("secondary", "{{#*inline \"inl\"}}Bug{{/inline}}{{#>primary}}{{>inl}}{{> @partial-block }}{{/primary}}").unwrap();
hs.register_template_string("current", "{{>secondary}}").unwrap();
hs.render("current", &()).unwrap();
}
Metadata
Metadata
Assignees
Labels
No labels