From 7a0577206cc7540ab5f0a8aed592296933b4cb6b Mon Sep 17 00:00:00 2001 From: Admin Date: Wed, 8 Aug 2018 00:41:36 -0500 Subject: [PATCH] Fixes small issue with Element's booleanAttributes --- src/compile/nodes/Element.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compile/nodes/Element.ts b/src/compile/nodes/Element.ts index 6fcf0c013b..d8c7bb3a7a 100644 --- a/src/compile/nodes/Element.ts +++ b/src/compile/nodes/Element.ts @@ -21,7 +21,8 @@ import mapChildren from './shared/mapChildren'; import { dimensions } from '../../utils/patterns'; // source: https://gist.github.com/ArjanSchouten/0b8574a6ad7f5065a5e7 -const booleanAttributes = new Set(['async', +const booleanAttributes = new Set([ + 'async', 'autocomplete', 'autofocus', 'autoplay',