diff --git a/src/generator/modules/templates/mod.rs b/src/generator/modules/templates/mod.rs index 9f005cc..bb1f37e 100644 --- a/src/generator/modules/templates/mod.rs +++ b/src/generator/modules/templates/mod.rs @@ -108,6 +108,7 @@ impl Module for TemplateModule { } async fn execute(&mut self, ctx: &mut ModulesContext) -> Result<()> { let mut registry: Handlebars<'static> = Handlebars::new(); + registry.set_strict_mode(true); if let Some(config) = ctx.get_anymap().get::() { for (templates, path) in config.to_paths() { tracing::debug!(?templates, ?path, "Registering template");