git.iko.soy/typeable/pandoc
on master help sign in
HTML writer: Fix addition of doc-biblioentry role.
commit49e810b4ed3642cf549622046bd7f2b98c700894 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 21 Aug 2020, 12:18 (6 years ago) parentc22b121
1 file changed+1−1
src/Text/Pandoc/Writers/HTML.hs+1−1
src/Text/Pandoc/Writers/HTML.hs+1−1
@@ -743,7 +743,7 @@ blockToHtml opts (Div attr@(ident, classes, kvs') bs) = do
743743 ("width", w) <- kvs'] ++
744744 [("role", "doc-bibliography") | ident == "refs" && html5] ++
745745 [("role", "doc-biblioentry")
746− | "ref-item" `T.isPrefixOf` ident && html5]
746+ | "ref-" `T.isPrefixOf` ident && html5]
747747 let speakerNotes = "notes" `elem` classes
748748 -- we don't want incremental output inside speaker notes, see #1394
749749 let opts' = if | speakerNotes -> opts{ writerIncremental = False }