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

After converting to amp html, amp-script component is discarded from the template #301

Open
AnnaMariaR opened this issue Dec 21, 2021 · 0 comments

Comments

@AnnaMariaR
Copy link

AnnaMariaR commented Dec 21, 2021

After converting to amp html, amp-script components are discarded from the document.
For example we have:

image
After converting with convertToAmpHtml() method from the library, the amp-script and its script are being removed even if they are valid in amp.
I guess PHP library lullabot is removing this as this might not be configured over there. Please help as this is an important component used in amp pages and should not be removed.

@AnnaMariaR AnnaMariaR changed the title After converting to amp html, amp-script components are discarded from the document. After converting to amp html, amp-script component is discarded from the template Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant