HTML characters are not displayed correctly in the entity autocomplete

Created on 13 December 2023, 12 months ago
Updated 15 September 2024, 2 months ago

Problem/Motivation

I have an entity reference field in my new content type. This references to content with HTML characters in the title. These characters get escaped by the getReferenceableEntities function. Which result in me not being able to save my content because of the referenced node not being found.

This is the result i get from my entity reference.

Banquet d'Or® - Ciabatta classica (doos 30x250 G) B50

Which gives me the following error

The referenced entity (node: doos 30x250 G) does not exist.

Proposed resolution

Find a better way to escape these HTML characters without changing the output of the title.

🐛 Bug report
Status

Closed: cannot reproduce

Version

11.0 🔥

Component
Entity 

Last updated 17 minutes ago

Created by

🇧🇪Belgium britt.vanderlinden

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024