Changes:
+ * changed the way {% set %} works when capturing (the content is now marked as safe)
* added support for macro name in the endmacro tag
* fixed the "length" filter for numbers
* removed coupling between Twig_Node and Twig_Template
<strong>SOME TEXT</strong>
{% endfilter %}
-It should returns ``<strong>some text</strong>``.
+It should return ``<strong>some text</strong>``.
Assignments
~~~~~~~~~~~
{% set foo, bar = 'foo', 'bar' %}
-The ``set`` tag can also be used to 'capture' chunks of HTML:
+The ``set`` tag can also be used to 'capture' chunks of text:
.. code-block:: jinja
</div>
{% endset %}
+.. caution::
+
+ If you enable automatic output escaping, Twig will only consider the
+ content to be safe when capturing chunks of text.
+
Extends
~~~~~~~