aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_shared/src/generator.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/askama_shared/src/generator.rs b/askama_shared/src/generator.rs
index acb3f15..0d05c0e 100644
--- a/askama_shared/src/generator.rs
+++ b/askama_shared/src/generator.rs
@@ -370,6 +370,8 @@ impl<'a> Generator<'a> {
if let AstLevel::Nested = level {
panic!("extend blocks only allowed at the top level");
}
+ // No whitespace handling: child template top-level is not used,
+ // except for the blocks defined in it.
},
}
}