Update jinja.py

the name of the jinja filter is wrong in the documentation
This commit is contained in:
mvivaldi 2017-11-23 09:53:58 +01:00 committed by GitHub
parent ae13d57307
commit 4551999ec7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -648,11 +648,11 @@ class SerializerExtension(Extension, object):
.. code-block:: jinja
escape_regex = {{ 'https://example.com?foo=bar%20baz' | escape_regex }}
regex_escape = {{ 'https://example.com?foo=bar%20baz' | regex_escape }}
will be rendered as::
escape_regex = https\\:\\/\\/example\\.com\\?foo\\=bar\\%20baz
regex_escape = https\\:\\/\\/example\\.com\\?foo\\=bar\\%20baz
** Set Theory Filters **