From 7601953205a233a72acceec780ff7a0e8160f1a0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 19 Mar 2020 16:10:51 -0700 Subject: Add to html5 attributes. Add: allow, autocapitalize, decoding, enterkeyhint, imagesizes, imagesrcset, loading. --- src/Text/Pandoc/XML.hs | 7 +++++++ 1 file changed, 7 insertions(+) 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" -- cgit v1.2.3