Skip to content

HTML in Schema Markup #22

@developerMicaelRoche

Description

@developerMicaelRoche

The following line (found here) causes the json to include json-parsed HTML in the accepted answer:
"text": {{ block.settings.content | json }}

I recommend using the following instead:
"text": {{ block.settings.content | strip_html | json }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions