From 752bcc7be6ae25cb20cf131a3ab2af833eea1396 Mon Sep 17 00:00:00 2001 From: tkm Date: Mon, 9 Nov 2020 15:08:48 +0200 Subject: [PATCH] Fix include documentation - change filter tag to apply --- doc/tags/include.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/tags/include.rst b/doc/tags/include.rst index e79a3109c..0882cc676 100644 --- a/doc/tags/include.rst +++ b/doc/tags/include.rst @@ -31,10 +31,10 @@ of that file: {# vs #} {% set content = include('template.html') %} - {# Filter a rendered template #} - {% filter upper %} + {# Apply filter on a rendered template #} + {% apply upper %} {% include 'template.html' %} - {% endfilter %} + {% endapply %} {# vs #} {{ include('template.html')|upper }}