Skip to content

Commit

Permalink
Fix typo in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 2, 2025
1 parent 15ef38c commit b167ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ filters.
.. code-block:: twig
{{ -1|abs }} {# returns -1 #}
{{ -1**0 }} {% returns -1 %}
{{ -1**0 }} {# returns -1 #}
{# as it is equivalent to #}
Expand All @@ -206,7 +206,7 @@ filters.
.. code-block:: twig
{{ (-1)|abs }} {# returns 1 as expected #}
{{ (-1)**0 }} {% returns 1 %}
{{ (-1)**0 }} {# returns 1 as expected #}
Functions
---------
Expand Down

0 comments on commit b167ef4

Please sign in to comment.