Issue #3014121 by Geordi, shreyakaushik11, anmolgoyal74, msankhala, rwohleb, rachel_norfolk, akanksha-hp, jhodgdon: Attribute.php code snippet not properly escaped
parent
1fcf53c314
commit
50d154ec1a
|
@ -33,7 +33,10 @@ use Drupal\Component\Utility\NestedArray;
|
||||||
* been printed from being printed again. For example:
|
* been printed from being printed again. For example:
|
||||||
* @code
|
* @code
|
||||||
* <cat class="{{ attributes.class }} my-custom-class"{{ attributes|without('class') }}>
|
* <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"> #}
|
* @endcode
|
||||||
|
* Produces:
|
||||||
|
* @code
|
||||||
|
* <cat class="cat black-cat white-cat black-white-cat my-custom-class" id="socks">
|
||||||
* @endcode
|
* @endcode
|
||||||
*
|
*
|
||||||
* The attribute keys and values are automatically escaped for output with
|
* The attribute keys and values are automatically escaped for output with
|
||||||
|
|
Loading…
Reference in New Issue