Skip to content

Block Editor: Dollar sign ($) replaced with HTML entity $ after save/publish #35782

@Neehakethi

Description

@Neehakethi

Problem Statement

When a dollar sign ($) is entered into a Block Editor field, it is replaced
with the HTML entity $ after the content is saved and published. The
editor-facing value changes on reopen, even though the frontend renders
correctly.

Steps to Reproduce

  1. Create or edit a Content Type that includes a Block Editor field
  2. Create a new content item using that Content Type
  3. In the Block Editor field, enter text containing a dollar sign
    Example: The application fee is $50.
  4. Save and publish the content
  5. Reopen the content item and inspect the Block Editor field
Image Image
  • Frontend rendering is unaffected — the character displays correctly to
    end users
  • The issue is limited to the editor-facing stored value
  • Reproducible on the dotCMS demo site (dotEvergreen / Current Release)
  • Environment: Cloud / Production
  • No recent dotCMS upgrade on the customer's side

Acceptance Criteria

The dollar sign is replaced with the HTML entity $ in the Block Editor
on reopen.
Example: The application fee is $50.

Expected Result

The dollar sign should remain unchanged in the Block Editor after
save/publish.
Example: The application fee is $50.

dotCMS Version

26.05.19-01

Severity

Low - Minor issue or cosmetic

Links

Freshdesk ticket: https://dotcms.freshdesk.com/a/tickets/37347

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions