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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screenshot 2024-12-03 at 12.27.28 PM.png | 13.55 KB | whikloj |
| Screen Shot 2021-04-09 at 11.06.18.png | 14.03 KB | alxp | |
| Screen Shot 2021-04-09 at 11.07.11.png | 15.15 KB | alxp |
Comments
Comment #3
whiklojI am not seeing this behaviour with Drupal 10.

Comment #4
alxp commentedAlso just confirmed that this does not occur anymore, thanks for letting me know!
Comment #5
alxp commented