Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
See #2566503: [meta] Replace remaining !placeholder for Non-URL HTML outputs only
modules/tour/src/TourViewBuilder.php: '#children' => t('!tour_item of !total', array('!tour_item' => $index + 1, '!total' => $count)),
Proposed resolution
Remaining tasks
Agree that removing HTML support makes sense.
User interface changes
None
API changes
Date format strings no longer support adding HTML using the \ escape character.
Data model changes
None
Beta phase evaluation
Issue category | Bug because at the moment date formats support HTML but it is escaped |
---|---|
Issue priority | Major because part of the critical to remove !placeholder |
Disruption | Disruptive for existing sites that are adding HTML to date formats. If HTML is required in a formatted date then the site should implement a custom field formatter to do this. |
Comment | File | Size | Author |
---|---|---|---|
#3 | remove_placeholder_in-2572019-3.patch | 727 bytes | thewilkybarkid |
Comments
Comment #2
thewilkybarkid CreditAttribution: thewilkybarkid commentedComment #3
thewilkybarkid CreditAttribution: thewilkybarkid commentedComment #4
dawehnerIt is a simple number
Comment #5
alexpottCommitted 5742806 and pushed to 8.0.x. Thanks!
Comment #8
nevergone CreditAttribution: nevergone commentedAlready committed.
Fixed.