Skip to content
Snippets Groups Projects
Verified Commit 8069f003 authored by Dave Long's avatar Dave Long
Browse files

Issue #3215627 by guilhermevp, varshith, rahulkhandelwal1990, ilgnerfagundes,...

Issue #3215627 by guilhermevp, varshith, rahulkhandelwal1990, ilgnerfagundes, ankithashetty, pragati_kanade, quietone, thiagorw, cilefen, mrclay, larowlan: HtmlTag doc should be clear about escaping of #value

(cherry picked from commit 11996c7a)
parent 8e040e5d
Branches
Tags
10 merge requests!10602Issue #3438769 by vinmayiswamy, antonnavi, michelle, amateescu: Sub workspace does not clear,!10301Issue #3469309 by mstrelan, smustgrave, moshe weitzman: Use one-time login...,!10187Issue #3487488 by dakwamine: ExtensionMimeTypeGuesser::guessMimeType must support file names with "0" (zero) like foo.0.zip,!9929Issue #3445469 by pooja_sharma, smustgrave: Add additional test coverage for...,!9787Resolve issue 3479427 - bootstrap barrio issue under Windows,!9742Issue #3463908 by catch, quietone: Split OptionsFieldUiTest into two,!9526Issue #3458177 by mondrake, catch, quietone, godotislate, longwave, larowlan,...,!6502Draft: Resolve #2938524 "Plach testing issue",!38582585169-10.1.x,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key
Pipeline #262075 passed with warnings
Pipeline: drupal

#262081

    ......@@ -16,8 +16,8 @@
    * - #tag: The tag name to output.
    * - #attributes: (array, optional) HTML attributes to apply to the tag. The
    * attributes are escaped, see \Drupal\Core\Template\Attribute.
    * - #value: (string, optional) A string containing the textual contents of
    * the tag.
    * - #value: (string|MarkupInterface, optional) The textual contents of the tag.
    * Strings will be XSS admin filtered.
    * - #noscript: (bool, optional) When set to TRUE, the markup
    * (including any prefix or suffix) will be wrapped in a <noscript> element.
    *
    ......@@ -29,6 +29,8 @@
    * '#value' => $this->t('Hello World'),
    * ];
    * @endcode
    *
    * @see \Drupal\Component\Utility\Xss::filterAdmin().
    */
    #[RenderElement('html_tag')]
    class HtmlTag extends RenderElementBase {
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment