Skip to content

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

Description

@AnnaMariaR

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions