From e1f1f945a694b6021ab577d4f1930e011c74843b Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Mon, 24 Apr 2017 04:32:38 +0800 Subject: [PATCH] Add `selected`, `defaultSelected` to bool atts --- jsonml-html.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jsonml-html.js b/jsonml-html.js index db9a015..0558482 100644 --- a/jsonml-html.js +++ b/jsonml-html.js @@ -140,6 +140,7 @@ if (typeof module === 'object') { 'autofocus': 1, 'checked': 1, 'defaultchecked': 1, + 'defaultselected': 1, 'defer': 1, 'disabled': 1, 'formnovalidate': 1, @@ -150,6 +151,7 @@ if (typeof module === 'object') { 'novalidate': 1, 'readonly': 1, 'required': 1, + 'selected': 1, 'spellcheck': 1, 'willvalidate': 1 // can add more attributes here as needed