mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
Missing code-block in doc/templates.rst
This commit is contained in:
@@ -446,6 +446,8 @@ By default, the ``escape`` filter uses the ``html`` strategy, but depending on
|
||||
the escaping context, you might want to explicitly use any other available
|
||||
strategies:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
{{ user.username|e('js') }}
|
||||
{{ user.username|e('css') }}
|
||||
{{ user.username|e('url') }}
|
||||
|
||||
Reference in New Issue
Block a user