]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Added missing versionadded and changelog entry
authorArmin Ronacher <armin.ronacher@active-4.com>
Sat, 18 May 2013 11:07:27 +0000 (12:07 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sat, 18 May 2013 11:07:27 +0000 (12:07 +0100)
CHANGES
jinja2/filters.py

diff --git a/CHANGES b/CHANGES
index c2cd4a4366d3751067b253cda0b0c1e89d8a4401..6a4420dcdbe17904e152fe9b06a06b517371100a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,8 @@ Version 2.7
 - Accessing `last` on the loop context no longer causes the iterator
   to be consumed into a list.
 - Allow `contextfunction` and other decorators to be applied to `__call__`.
+- Added support for changing from newline to different signs in the `wordwrap`
+  filter.
 
 Version 2.6
 -----------
index 393912961779d29b015b01269f5c1a4770a50113..f0439f4d08e61c57fa7256a97fbc7af6470bda8c 100644 (file)
@@ -479,6 +479,9 @@ def do_wordwrap(environment, s, width=79, break_long_words=True,
     split words apart if they are longer than `width`. By default, the newlines
     will be the default newlines for the environment, but this can be changed
     using the wrapstring keyword argument.
+
+    .. versionadded:: 2.7
+       Added support for the `wrapstring` parameter.
     """
     if not wrapstring:
         wrapstring = environment.newline_sequence