Closed (fixed)
Project:
Admin Toolbar
Version:
8.x-2.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2020 at 13:14 UTC
Updated:
5 Jan 2021 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
saltwaterskin commentedResolving the issue as suggested would violate coding standards. This is not likely to be committed but removing the calls to the t() function is likely the best way to resolve this. Here is a patch that removes the calls to the t() function and resolves the encoding issues.
Comment #3
scott weston commentedReviewed and tested the patch using simplytest.me on Drupal 8.9.11.
Without the patch Content Type named "A & B" appears as:
Without Patch:
With Patch:
Comment #4
scott weston commentedMoving to NR for others to review.
Comment #6
adriancidThanks
Comment #8
n.dhuygelaere commentedYou can also use this way :