Applied documentation patches by Clemens Hermann.
--HG--
branch : trunk
diff --git a/jinja2/environment.py b/jinja2/environment.py
index c7f311e..bfbb662 100644
--- a/jinja2/environment.py
+++ b/jinja2/environment.py
@@ -656,8 +656,8 @@
def make_module(self, vars=None, shared=False, locals=None):
"""This method works like the :attr:`module` attribute when called
- without arguments but it will evaluate the template every call
- rather then caching the template. It's also possible to provide
+ without arguments but it will evaluate the template on every call
+ rather than caching it. It's also possible to provide
a dict which is then used as context. The arguments are the same
as for the :meth:`new_context` method.
"""
diff --git a/jinja2/filters.py b/jinja2/filters.py
index 553ce6e..76cdcc1 100644
--- a/jinja2/filters.py
+++ b/jinja2/filters.py
@@ -285,8 +285,8 @@
def do_filesizeformat(value, binary=False):
"""Format the value like a 'human-readable' file size (i.e. 13 KB,
4.1 MB, 102 bytes, etc). Per default decimal prefixes are used (mega,
- giga etc.), if the second parameter is set to `True` the binary
- prefixes are (mebi, gibi).
+ giga, etc.), if the second parameter is set to `True` the binary
+ prefixes are used (mebi, gibi).
"""
bytes = float(value)
base = binary and 1024 or 1000
@@ -452,7 +452,7 @@
def do_slice(value, slices, fill_with=None):
"""Slice an iterator and return a list of lists containing
those items. Useful if you want to create a div containing
- three div tags that represent columns:
+ three ul tags that represent columns:
.. sourcecode:: html+jinja
@@ -498,7 +498,7 @@
{%- for row in items|batch(3, ' ') %}
<tr>
{%- for column in row %}
- <tr>{{ column }}</td>
+ <td>{{ column }}</td>
{%- endfor %}
</tr>
{%- endfor %}