Skip to content

Meta tag attributes blacklisting/whitelisting #71

Description

@beliayeu

Problem

  • html containing meta tags with disallowed attributes is converted to invalid amp

References

Code sample
https://codesandbox.io/s/html2-amp-meta-7xem2?fontsize=14&previewwindow=tests

html containing

<meta http-equiv="cleartype" content="on" />

fails with error

The attribute 'http-equiv' may not appear in tag 'meta name= and content='.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions