After converting to amp html, amp-script components are discarded from the document.
For example we have:
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.
After converting to amp html, amp-script components are discarded from the document. For example we have:
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.