Citeproc: ensure that CSL-related attributes are passed on...
...to a Div with id 'refs'. Previously we just left the
attributes of such a Div alone, which meant that style
options like entry-spacing had no effect there.
commit56fb4dae1ba2f6c28f561964249b89385d482f53
authorJohn MacFarlane <jgm@berkeley.edu>
dateMon 17 May 2021, 20:42 (5 years ago)
parent1843a87
src/Text/Pandoc/Citeproc.hs+1−1
@@ -499,7 +499,7 @@ insertRefs refkvs refclasses meta refs bs =
499499 put True
500500 -- refHeader isn't used if you have an explicit references div
501501 let cs' = ordNub $ cs ++ refclasses
502− return $ Div ("refs",cs',kvs) (xs ++ refs)
502+ return $ Div ("refs",cs' ++ refclasses,kvs ++ refkvs) (xs ++ refs)
503503 go x = return x
504504
505505refTitle :: Meta -> Maybe [Inline]