Skip to content

[json-ld] allow script tag to have attributes #571

Open
@BaDos

Description

@BaDos

The frontend part can manipulate ld+json data, for example, add a rating, etc.
To correctly define a tag, we need to assign it a name, for example, like this - data-name="product".

Our overlay returns a tag with such an attribute: <script type="application/ld+json" data-name="product">

But after merging data from the overlay, this attribute is deleted.

We need the ability to keep attributes from the overlay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions