aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-03-19 16:10:51 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-03-19 16:10:51 -0700
commit7601953205a233a72acceec780ff7a0e8160f1a0 (patch)
treedf1f9635236bffb594f7b82fa21029721f5e8aee
parent44f8c2725eac93ac0df503cb338ba6b076a0ee20 (diff)
downloadpandoc-7601953205a233a72acceec780ff7a0e8160f1a0.tar.gz
Add to html5 attributes.
Add: allow, autocapitalize, decoding, enterkeyhint, imagesizes, imagesrcset, loading.
-rw-r--r--src/Text/Pandoc/XML.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Text/Pandoc/XML.hs b/src/Text/Pandoc/XML.hs
index 4c5035c71..10ec4f611 100644
--- a/src/Text/Pandoc/XML.hs
+++ b/src/Text/Pandoc/XML.hs
@@ -147,12 +147,14 @@ html5Attributes = Set.fromList
, "accept-charset"
, "accesskey"
, "action"
+ , "allow"
, "allowfullscreen"
, "allowpaymentrequest"
, "allowusermedia"
, "alt"
, "as"
, "async"
+ , "autocapitalize"
, "autocomplete"
, "autofocus"
, "autoplay"
@@ -170,6 +172,7 @@ html5Attributes = Set.fromList
, "crossorigin"
, "data"
, "datetime"
+ , "decoding"
, "default"
, "defer"
, "dir"
@@ -178,6 +181,7 @@ html5Attributes = Set.fromList
, "download"
, "draggable"
, "enctype"
+ , "enterkeyhint"
, "for"
, "form"
, "formaction"
@@ -193,6 +197,8 @@ html5Attributes = Set.fromList
, "hreflang"
, "http-equiv"
, "id"
+ , "imagesizes"
+ , "imagesrcset"
, "inputmode"
, "integrity"
, "is"
@@ -206,6 +212,7 @@ html5Attributes = Set.fromList
, "label"
, "lang"
, "list"
+ , "loading"
, "loop"
, "low"
, "manifest"