From 893760773f8426d6f9b7687f3108415d56dfbb50 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Fri, 13 Apr 2007 22:34:35 +0200 Subject: [PATCH] [svn] fixed typo in docstring --HG-- branch : trunk --- jinja/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jinja/filters.py b/jinja/filters.py index e77b891..089554c 100644 --- a/jinja/filters.py +++ b/jinja/filters.py @@ -624,7 +624,7 @@ def do_slice(slices, fill_with=None): those items. Useful if you want to create a div containing three div tags that represent columns: - .. sourcecode:: jinja + .. sourcecode:: html+jinja
{%- for column in items|slice(3) %} @@ -665,7 +665,7 @@ def do_batch(linecount, fill_with=None): given number of items. If you provide a second parameter this is used to fill missing items. See this example: - .. sourcecode:: jinja + .. sourcecode:: html+jinja {%- for row in items|batch(3, ' ') %} -- 2.26.2