summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-04-21 08:07:37 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-04-21 08:07:37 -0700
commitf9b2ca7465e53e78fa70115a803d403b5c71bc82 (patch)
tree76a8636b034e4198af1b52f7629b3d96164a7ea0 /src
parentf3cfeba3efc1a94b02040e5b206123f58d08313a (diff)
HTML writer: do not include the deprecated doc-endnote role.
doc-endnote was deprecated in DPUB-ARIA 1.1. Closes #8030.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index f443c446b..a38c2d95c 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -1642,8 +1642,6 @@ blockListToNote opts ref blocks = do
let noteItem' = case epubVersion of
Just EPUB3 -> noteItem !
customAttribute "epub:type" "footnote"
- _ | html5 -> noteItem !
- customAttribute "role" "doc-endnote"
_ -> noteItem
return $ nl >> noteItem'