Issue summary update:
The double-escaping in this issue was fixed in #2502089: Remove SafeMarkup::set() in template_preprocess_views_view_table(). However, that patch did not add a test for double-escaping this element. This issue has a test-only patch to address this.
Problem/Motivation
While reviewing #2502089: Remove SafeMarkup::set() in template_preprocess_views_view_table() it was discovered that customizing a label wrapper in a view that is being displayed as a table results in the double-escaping of the label in the table header.
Steps to reproduce
- Install Drupal 8
- Edit the view for admin/content and customize the label wrapper for one of the fields
Image may be NSFW.
Clik here to view. - Visit admin/content and observe that the label is not being correctly rendered
Image may be NSFW.
Clik here to view.
(YesCT's screenshots shamelessly stolen from the previous issue)
Remaining tasks
Fix it.
User interface changes
n/a
API changes
n/a
Image may be NSFW.
Clik here to view.