Skip to content

Commit

Permalink
feat: add amp as boolean attribute (resolves: #311)
Browse files Browse the repository at this point in the history
  • Loading branch information
pimlie authored and manniL committed Mar 12, 2019
1 parent 6bea7f4 commit b7ee040
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export const tagAttributeAsInnerContent = ['innerHTML', 'cssText']
// from: https://github.com/kangax/html-minifier/blob/gh-pages/src/htmlminifier.js#L202
export const booleanHtmlAttributes = [
'allowfullscreen',
'amp',
'async',
'autofocus',
'autoplay',
Expand Down

0 comments on commit b7ee040

Please sign in to comment.