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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | structured_data-json_escaped-3346760-2.patch | 505 bytes | orbmantell |
Comments
Comment #2
orbmantell commentedAttaching patch which should fix the issue.
Comment #3
orbmantell commented