Skip to content

Custom formatted dates in dynamic data show HTML instead of date #3748

Description

@legoblokje

Describe the bug
Blocks with custom formatted dates as dynamic fields data return non rendered HTML.

To Reproduce
Steps to reproduce the behavior:

  1. Insert a new block with a Content field and dynamic fields support
  2. Select Dynamic Source 'Current Post'
  3. Select any date field
  4. Select Data Format Custom
  5. Enter a Custom Format, i.e. 'F'
  6. The content in the editor and on the front-end is unrendered/escape HTML

Expected behavior
The date value formatted according to the custom format

Screenshots
Image

Desktop:

  • OS: MacOS
  • Browser: Mozilla Firefox 154
  • Browser: Google Chrome 152

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions