From 094462cbdda15f19d2dc071b18201f656b8ddcd4 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 12 Feb 2021 23:11:47 +0100 Subject: =?UTF-8?q?Make=20templates=20and=20strings=20summable=20?= =?UTF-8?q?=F0=9F=A5=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/exec/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/exec') diff --git a/src/exec/mod.rs b/src/exec/mod.rs index 57fe8138..a9a44c10 100644 --- a/src/exec/mod.rs +++ b/src/exec/mod.rs @@ -155,6 +155,7 @@ impl Exec for TemplateNode { fn exec(&self, ctx: &mut ExecContext) { match self { Self::Tree { tree, map } => tree.exec_with_map(ctx, &map), + Self::Str(s) => ctx.push_text(s), Self::Any(any) => any.exec(ctx), } } -- cgit v1.2.3