HtmlTag doc should be clear about escaping of #value

Created on 25 May 2021, over 3 years ago
Updated 5 September 2024, 4 months ago

Problem/Motivation

https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...

The attribute description "(string, optional) A string containing the textual contents of the tag" does not tell the reader whether HTML escaping is performed. I'd prefer instead:

#value: (HTML string, optional) The markup content of the tag. No escaping is performed on output.

Steps to reproduce

Proposed resolution

See text in #25

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

10.3 ✨

Component
DocumentationΒ  β†’

Last updated 1 day ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States mrclay

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024