Structured data JSON escaping characters

Created on 8 March 2023, almost 2 years ago

Problem/Motivation

The output of the module is HTML escaped

Steps to reproduce

Generate structured data for a page with a greater than symbol (>), the output will include ">"

Proposed resolution

Pass the structured data value through \Drupal\Core\Render\Markup::create() as described in https://www.drupal.org/project/drupal/issues/2752283#comment-12622683 β†’

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States orbmantell

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

Comments & Activities

Production build 0.71.5 2024