mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-30 14:31:36 +00:00
Fix #508: Context for includes in call-blocks not prepared
This commit is contained in:
parent
7a379df480
commit
dc2d9f5955
@ -299,10 +299,12 @@ impl TemplateInput<'_> {
|
||||
nested.push(&arm.nodes);
|
||||
}
|
||||
}
|
||||
Node::Call(c) => {
|
||||
nested.push(&c.nodes);
|
||||
}
|
||||
Node::Lit(_)
|
||||
| Node::Comment(_)
|
||||
| Node::Expr(_, _)
|
||||
| Node::Call(_)
|
||||
| Node::Extends(_)
|
||||
| Node::Let(_)
|
||||
| Node::Import(_)
|
||||
|
Loading…
x
Reference in New Issue
Block a user