Skip to content

Add amp-boilerplate to booleanHtmlAttributes #530

@jangarcia

Description

@jangarcia

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.

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