amp-mustache removes `application/json` script tags
See original GitHub issueTemplate 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 inside amp-list
/cc @dvoytenko @choumx
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
amp-mustache within amp-list can't bind when state modify.
To whom it may concern: I like to use amp-bind to change HTML element status. But looks like it ignore amp-bind within amp-list...
Read more >Documentation: <amp-bind> - amp.dev
Allows elements to mutate in response to user actions or data changes via data binding and simple JS-like expressions.
Read more >amp-form post action-xhr response stripping image tag
I am trying to display an image from an amp-form response. When I inspect the dom on reply the amp-img tag seems to...
Read more >JSON LD Markup with AMP List/Mustache - WordPress.org
Hi,. I have been able to get the HTML output correctly with AMP List/Mustache but the JSON LD markup is not generating correctly...
Read more >Re: The problems with AMP-Mustache only getting data from ...
The hello world from the AMP-Mustache documentation is: ... src="some-file.json"> ... <script type="application/json"> {"world": "world"}
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
assigning to @choumx for prioritization in runtime.
/cc @choumx @danielrozenberg if case you are interested as you have been improving the sanitizer recently.