projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d071f95
)
[svn] fixed typo in docstring
author
Armin Ronacher
<armin.ronacher@active-4.com>
Fri, 13 Apr 2007 20:34:35 +0000
(22:34 +0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Fri, 13 Apr 2007 20:34:35 +0000
(22:34 +0200)
--HG--
branch : trunk
jinja/filters.py
patch
|
blob
|
history
diff --git
a/jinja/filters.py
b/jinja/filters.py
index e77b8912aa8b55a0ac7676590011554445bef8f3..089554c322a9dc810ade5caee98561b3c4ee9617 100644
(file)
--- 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
<div class="columwrapper">
{%- 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
<table>
{%- for row in items|batch(3, ' ') %}