aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/HTML.hs
diff options
context:
space:
mode:
authorWandmalfarbe <Wandmalfarbe@users.noreply.github.com>2017-07-26 18:50:10 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-07-26 18:50:10 +0200
commit200b5fb60ce1372da592dafd0a2f587f0083d72f (patch)
treeb0b540c766a2b57b3fba6ce67094f0659de6a18e /src/Text/Pandoc/Writers/HTML.hs
parent303d10d07b45576cb3542e36d11ced51c01e465c (diff)
downloadpandoc-200b5fb60ce1372da592dafd0a2f587f0083d72f.tar.gz
Sorted the list of supported HTML5 attributes and removed duplicates. (#3817)
Diffstat (limited to 'src/Text/Pandoc/Writers/HTML.hs')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs126
1 files changed, 46 insertions, 80 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index 61f2c959a..fecb32464 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -1185,11 +1185,9 @@ html5Attributes = Set.fromList
, "as"
, "async"
, "autocomplete"
- , "autocomplete"
, "autofocus"
, "autoplay"
, "charset"
- , "charset"
, "checked"
, "cite"
, "class"
@@ -1203,18 +1201,15 @@ html5Attributes = Set.fromList
, "crossorigin"
, "data"
, "datetime"
- , "datetime"
, "default"
, "defer"
, "dir"
- , "dir"
, "dirname"
, "disabled"
, "download"
, "draggable"
, "enctype"
, "for"
- , "for"
, "form"
, "formaction"
, "formenctype"
@@ -1226,8 +1221,6 @@ html5Attributes = Set.fromList
, "hidden"
, "high"
, "href"
- , "href"
- , "href"
, "hreflang"
, "http-equiv"
, "id"
@@ -1248,90 +1241,20 @@ html5Attributes = Set.fromList
, "low"
, "manifest"
, "max"
- , "max"
, "maxlength"
, "media"
, "method"
, "min"
- , "min"
, "minlength"
, "multiple"
, "muted"
, "name"
- , "name"
- , "name"
- , "name"
- , "name"
- , "name"
- , "name"
, "nomodule"
, "nonce"
, "novalidate"
- , "open"
- , "open"
- , "optimum"
- , "pattern"
- , "ping"
- , "placeholder"
- , "playsinline"
- , "poster"
- , "preload"
- , "readonly"
- , "referrerpolicy"
- , "rel"
- , "rel"
- , "required"
- , "reversed"
- , "rows"
- , "rowspan"
- , "sandbox"
- , "scope"
- , "scope"
- , "selected"
- , "shape"
- , "size"
- , "sizes"
- , "sizes"
- , "slot"
- , "span"
- , "spellcheck"
- , "src"
- , "srcdoc"
- , "srclang"
- , "srcset"
- , "start"
- , "step"
- , "style"
- , "tabindex"
- , "target"
- , "target"
- , "target"
- , "title"
- , "title"
- , "title"
- , "title"
- , "title"
- , "translate"
- , "type"
- , "type"
- , "type"
- , "type"
- , "type"
- , "typemustmatch"
- , "updateviacache"
- , "usemap"
- , "value"
- , "value"
- , "value"
- , "value"
- , "value"
- , "value"
- , "width"
- , "workertype"
- , "wrap"
, "onabort"
- , "onauxclick"
, "onafterprint"
+ , "onauxclick"
, "onbeforeprint"
, "onbeforeunload"
, "onblur"
@@ -1380,7 +1303,6 @@ html5Attributes = Set.fromList
, "onmouseout"
, "onmouseover"
, "onmouseup"
- , "onwheel"
, "onoffline"
, "ononline"
, "onpagehide"
@@ -1392,9 +1314,9 @@ html5Attributes = Set.fromList
, "onpopstate"
, "onprogress"
, "onratechange"
+ , "onrejectionhandled"
, "onreset"
, "onresize"
- , "onrejectionhandled"
, "onscroll"
, "onsecuritypolicyviolation"
, "onseeked"
@@ -1410,4 +1332,48 @@ html5Attributes = Set.fromList
, "onunload"
, "onvolumechange"
, "onwaiting"
+ , "onwheel"
+ , "open"
+ , "optimum"
+ , "pattern"
+ , "ping"
+ , "placeholder"
+ , "playsinline"
+ , "poster"
+ , "preload"
+ , "readonly"
+ , "referrerpolicy"
+ , "rel"
+ , "required"
+ , "reversed"
+ , "rows"
+ , "rowspan"
+ , "sandbox"
+ , "scope"
+ , "selected"
+ , "shape"
+ , "size"
+ , "sizes"
+ , "slot"
+ , "span"
+ , "spellcheck"
+ , "src"
+ , "srcdoc"
+ , "srclang"
+ , "srcset"
+ , "start"
+ , "step"
+ , "style"
+ , "tabindex"
+ , "target"
+ , "title"
+ , "translate"
+ , "type"
+ , "typemustmatch"
+ , "updateviacache"
+ , "usemap"
+ , "value"
+ , "width"
+ , "workertype"
+ , "wrap"
]