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

DISALLOWED_TAG on amp-google-document-embed #281

Open
Rapid0s opened this issue Sep 11, 2020 · 2 comments
Open

DISALLOWED_TAG on amp-google-document-embed #281

Rapid0s opened this issue Sep 11, 2020 · 2 comments

Comments

@Rapid0s
Copy link

Rapid0s commented Sep 11, 2020

I am getting an error while parsing html with a pre-applied amp-google-document-embed tag.
https://amp.dev/documentation/components/amp-google-document-embed/

  • The tag 'amp-google-document-embed' is disallowed.
    [code: DISALLOWED_TAG category: DISALLOWED_HTML]
    ACTION TAKEN: amp-google-document-embed tag was removed due to validation issues.

Is this normal or I have something wrong with my amp code and it gets red flagged ?

@westonruter

This comment has been minimized.

@westonruter
Copy link

My apologies. I thought this issue was opened for the AMP plugin for WordPress.

In any case, I believe the issue is that amp-library has not been updated to include support for amp-google-document-embed. In the context of the WordPress plugin, we are going to be extracting the PHP logic from the plugin so that it can be used in the Drupal module or any other PHP-based CMS. See ampproject/amp-wp#2315.

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

2 participants