mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +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 %}
|
{% with %}
|
||||||
{% set foo = 42 %}
|
{% set foo = 42 %}
|
||||||
{{ foo }} foo is 42 here
|
{{ foo }} {# foo is 42 here #}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
foo is not visible here any longer
|
foo is not visible here any longer
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ is equivalent to the following one:
|
|||||||
.. code-block:: jinja
|
.. code-block:: jinja
|
||||||
|
|
||||||
{% with { foo: 42 } %}
|
{% with { foo: 42 } %}
|
||||||
{{ foo }} foo is 42 here
|
{{ foo }} {# foo is 42 here #}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
foo is not visible here any longer
|
foo is not visible here any longer
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user