Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
#2538950: Replace SafeMarkup::format() in template_preprocess_html with placeholders in the template introduced:
<css-placeholder token="{{ placeholder_token|raw }}" />
but it could've been:
<css-placeholder token="{{ placeholder_token|raw }}">
This is simpler, and doesn't set off the spidey senses in text editors/IDEs:
<tag />
is XHTML thinking, <tag>
is HTML5 thinking.
Proposed resolution
Change it.
Remaining tasks
Review.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2565033-2.patch | 3.01 KB | Wim Leers |
Comments
Comment #2
Wim LeersComment #3
Fabianx CreditAttribution: Fabianx for Acquia commentedComment #4
neclimdulThe new one sets off my internal XML parser but that seems much less important. Hopefully fewer and fewer people will have the years of torture involved in creating one of those. +1
Comment #5
Wim LeersUpdated the CR accordingly: https://www.drupal.org/node/2565021.
Comment #6
alexpottLet's do this quick whilst the change is still fresh... Committed 36f6a9b and pushed to 8.0.x. Thanks!