Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BaDos opened this issue Oct 17, 2024 · 0 comments
Open

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

BaDos opened this issue Oct 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@BaDos
Copy link

BaDos commented Oct 17, 2024

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.

@BaDos BaDos added the enhancement New feature or request label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant