Problem/Motivation

Term title doesn't require Html::escape() if it's displayed as a link (Link does it's own encoding to prevent any XSS)

Steps to reproduce

Create a new term with an apostrophe like "What's on" or with ampersand "Weekends & Vacations"
New terms are displayed with encoded &
encoded value

Proposed resolution

remove Html::escape() from https://git.drupalcode.org/project/taxonomy_manager/-/blame/2.0.x/src/Fo...

CommentFileSizeAuthor
encoded.png61 KBjannakha
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jannakha created an issue. See original summary.

jannakha’s picture

Issue summary: View changes
jannakha’s picture

Issue summary: View changes
jannakha’s picture

Issue summary: View changes

jannakha’s picture

Status: Active » Needs review
vladimiraus’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. 👍

vladimiraus’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Thank you for your contribution.
Committed. 🍻

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.