HTML writer: Fix addition of doc-biblioentry role.
This commit is contained in:
parent
c22b12100d
commit
49e810b4ed
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ blockToHtml opts (Div attr@(ident, classes, kvs') bs) = do
|
|||
("width", w) <- kvs'] ++
|
||||
[("role", "doc-bibliography") | ident == "refs" && html5] ++
|
||||
[("role", "doc-biblioentry")
|
||||
| "ref-item" `T.isPrefixOf` ident && html5]
|
||||
| "ref-" `T.isPrefixOf` ident && html5]
|
||||
let speakerNotes = "notes" `elem` classes
|
||||
-- we don't want incremental output inside speaker notes, see #1394
|
||||
let opts' = if | speakerNotes -> opts{ writerIncremental = False }
|
||||
|
|
Loading…
Add table
Reference in a new issue