mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update jinja.py
the name of the jinja filter is wrong in the documentation
This commit is contained in:
parent
ae13d57307
commit
4551999ec7
1 changed files with 2 additions and 2 deletions
|
@ -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 **
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue