]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Merge pull request #828 from chamini2/trim-more
authorDavid Lord <davidism@gmail.com>
Fri, 4 Oct 2019 19:01:37 +0000 (12:01 -0700)
committerGitHub <noreply@github.com>
Fri, 4 Oct 2019 19:01:37 +0000 (12:01 -0700)
Add chars option to trim

1  2 
CHANGES.rst

diff --cc CHANGES.rst
index 888f9d9176adcf4aee8f6453836a63eb834e9194,fe99937daba3a3c58a6abe5666bd06bdbf2e2a59..a8147b50eeba7e40a433ba8deca0a6efb6f71c07
@@@ -22,17 -22,10 +22,19 @@@ Unrelease
  -   Int and float literals can be written with the '_' separator for
      legibility, like 12_345. :pr:`923`
  -   Fix a bug causing deadlocks in ``LRUCache.setdefault``. :pr:`1000`
+ -   The ``trim`` filter takes an optional string of characters to trim.
+     :pr:`828`
  
  
 +Version 2.10.3
 +--------------
 +
 +Released 2019-10-24
 +
 +-   Fix a typo in Babel entry point in ``setup.py`` that was preventing
 +    installation.
 +
 +
  Version 2.10.2
  --------------