Commit 874196d7 authored by catch's avatar catch

Issue #3014121 by Geordi, shreyakaushik11, anmolgoyal74, msankhala, rwohleb,...

Issue #3014121 by Geordi, shreyakaushik11, anmolgoyal74, msankhala, rwohleb, rachel_norfolk, akanksha-hp, jhodgdon: Attribute.php code snippet not properly escaped

(cherry picked from commit 50d154ec)
parent 50ea22de
......@@ -32,8 +32,11 @@
* template, use the "without" filter to prevent attributes that have already
* been printed from being printed again. For example:
* @code
* <cat class="{{ attributes.class }} my-custom-class"{{ attributes|without('class') }}>
* {# Produces <cat class="cat black-cat white-cat black-white-cat my-custom-class" id="socks"> #}
* <cat class="{{ attributes.class }} my-custom-class"{{ attributes|without('class') }}>
* @endcode
* Produces:
* @code
* <cat class="cat black-cat white-cat black-white-cat my-custom-class" id="socks">
* @endcode
*
* The attribute keys and values are automatically escaped for output with
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment