Apostrophes and other characters appear as HTML entities.

Created on 9 April 2021, over 3 years ago
Updated 3 December 2024, 15 days ago

Problem/Motivation

When a label value is returned from a remote endpoint that includes, for example, a single quote / apostrophe, the rendered label shows an HTML escape character sequence instead.

Steps to reproduce

Add a field using the LCSH Subject Headings endpoint to a node type.

Add a node and in the field you just created, start typing a subject that contains an apostrophe.

Example "Little Draggin' (Bear)"

Select the entry in the select list and save the node.

Proposed resolution

Determine the correct way to ensure the returned string is sanitized so the text may be rendered correctly.

Remaining tasks

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada alxp Charlottetown, PE

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