-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
amp-mustache removes application/json
script tags
#12023
Comments
Same applies to <script type="application/ld+json"> tags, which would presumably be useful for marking up amp-list items. |
Same with |
/cc @choumx @danielrozenberg if case you are interested as you have been improving the sanitizer recently. |
@Gregable and I are working on a new templating language designed with AMP validator in consideration. Details are coming soon. We might deprioritize this work and recommend users to move towards the new templating language once built. |
Adding my voice of support for prioritizing a fix for this, or that new templating language, sooner rather than later. We (Oath/Yahoo) have a use case where we need to beacon viewability on elements rendered by an |
assigning to @choumx for prioritization in runtime. |
Template sanitizer currently removes
<script type="application/json">
which means that components that rely on JSON configurations (amp-animation
,amp-ima-video
) can not be be used insideamp-list
/cc @dvoytenko @choumx
The text was updated successfully, but these errors were encountered: