Some characters replaced with HTML entities in tokenised labels

Created on 8 February 2017, almost 8 years ago
Updated 28 June 2023, over 1 year ago

Auto Entity Label is replacing some characters in some situations with HTML entities.

When the pattern for the label uses a Text (plain) field, it happens with apostrophes, quotation marks and ampersands:

  • ' becomes '
  • " becomes "
  • & becomes &

When the pattern for the label uses a Text (formatting) field, it only happens with ampersands.

There's a similar issue reported for D7.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kittysunshine Columbus, OH

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.

  • πŸ‡ΊπŸ‡ΈUnited States seattlehimay

    I believe this issue should be reopened as there are still problems.

    If I set "Automatic label generation for" value to "Disabled", quotations marks within a title will cause the title to appear like quot;Test Titlequot;

    I wasn't positive the issue was within auto_entity, but when I chose "Re-save" from the automatic label config screen for my content type, the title then appears as "Test Title"

Production build 0.71.5 2024