JSON-LD output does not properly escape HTML tags

Created on 7 December 2023, 7 months ago
Updated 11 December 2023, 7 months ago

Problem/Motivation

The text format fields don't seem to be outputting HTML correctly.

Steps to reproduce

Have a field that contains HTML, set it to be rendered as a Description tag in a schema.

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>

.. becomes..

        "description": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.&lt;\/p&gt;",

Proposed resolution

Work out the source of the bug, fix it.

Remaining tasks

Work out the source of the bug, fix it.

User interface changes

HTML in fields will be rendered correctly.

API changes

TBD

Data model changes

TBD

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024