2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-24 23:00:34 +03:00

feat: add amp as boolean attribute (resolves: #311)

This commit is contained in:
pimlie
2019-03-08 13:58:52 +01:00
committed by Alexander Lichter
parent 6bea7f45f4
commit b7ee0409ea
+1
View File
@@ -79,6 +79,7 @@ export const tagAttributeAsInnerContent = ['innerHTML', 'cssText']
// from: https://github.com/kangax/html-minifier/blob/gh-pages/src/htmlminifier.js#L202 // from: https://github.com/kangax/html-minifier/blob/gh-pages/src/htmlminifier.js#L202
export const booleanHtmlAttributes = [ export const booleanHtmlAttributes = [
'allowfullscreen', 'allowfullscreen',
'amp',
'async', 'async',
'autofocus', 'autofocus',
'autoplay', 'autoplay',