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 support for AMPHTML. #59

Merged
merged 1 commit into from
Sep 4, 2018
Merged

Add support for AMPHTML. #59

merged 1 commit into from
Sep 4, 2018

Conversation

fstanis
Copy link
Contributor

@fstanis fstanis commented Sep 3, 2018

Related issue: #57

  • mergeStyles and minifyCss now ignores the AMP boilerplate (<style amp-boilerplate>...</style>).
  • Added test to ensure mergeStyles preserves amp-custom attribute.
  • Added allowpaymentrequest and allowtransparency to collapseBooleanAttributes (not AMP related).
  • Added AMP-specific boolean attributes to collapseBooleanAttributes. These will only be collapsed when empty, since some of them are not exclusively boolean and this functionality needs to enabled via an option for this module.
  • Updated README.

@fstanis fstanis mentioned this pull request Sep 3, 2018
@maltsev maltsev merged commit 2e504e7 into posthtml:master Sep 4, 2018
@maltsev
Copy link
Member

maltsev commented Sep 4, 2018

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants