Skip to content

Commit b7ee040

Browse files
pimlieTheAlexLichter
authored andcommitted
feat: add amp as boolean attribute (resolves: #311)
1 parent 6bea7f4 commit b7ee040

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shared/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export const tagAttributeAsInnerContent = ['innerHTML', 'cssText']
7979
// from: https://github.com/kangax/html-minifier/blob/gh-pages/src/htmlminifier.js#L202
8080
export const booleanHtmlAttributes = [
8181
'allowfullscreen',
82+
'amp',
8283
'async',
8384
'autofocus',
8485
'autoplay',

0 commit comments

Comments
 (0)