mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 10:26:32 +00:00
fix(with): comment some strings
This commit is contained in:
committed by
Fabien Potencier
parent
e6d2f8b33d
commit
aca6e2cd44
+2
-2
@@ -8,7 +8,7 @@ scope are not visible outside of the scope:
|
||||
|
||||
{% with %}
|
||||
{% set foo = 42 %}
|
||||
{{ foo }} foo is 42 here
|
||||
{{ foo }} {# foo is 42 here #}
|
||||
{% endwith %}
|
||||
foo is not visible here any longer
|
||||
|
||||
@@ -19,7 +19,7 @@ is equivalent to the following one:
|
||||
.. code-block:: jinja
|
||||
|
||||
{% with { foo: 42 } %}
|
||||
{{ foo }} foo is 42 here
|
||||
{{ foo }} {# foo is 42 here #}
|
||||
{% endwith %}
|
||||
foo is not visible here any longer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user