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

Add amp-boilerplate to booleanHtmlAttributes #530

Closed
jangarcia opened this issue Mar 20, 2020 · 0 comments
Closed

Add amp-boilerplate to booleanHtmlAttributes #530

jangarcia opened this issue Mar 20, 2020 · 0 comments

Comments

@jangarcia
Copy link
Contributor

According to the AMP specification, documents need to include a style tag with the boolean attribute amp-boilerplate in the <head> of the page. At the moment, adding amp-boilerplate: true to a style object in htmlAttrs outputs <style amp-boilerplate="true">, which leads to an AMP validation error. For this reason, amp-boilerplate should be added to the
booleanHtmlAttributes, as it has already been done for the attribute amp.

jangarcia added a commit to jangarcia/vue-meta that referenced this issue Mar 20, 2020
@pimlie pimlie closed this as completed in bb45319 Mar 21, 2020
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