From 56fb4dae1ba2f6c28f561964249b89385d482f53 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 17 May 2021 20:42:43 -0700 Subject: 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. --- src/Text/Pandoc/Citeproc.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Citeproc.hs b/src/Text/Pandoc/Citeproc.hs index 2f4936fa6..de63aed1f 100644 --- a/src/Text/Pandoc/Citeproc.hs +++ b/src/Text/Pandoc/Citeproc.hs @@ -499,7 +499,7 @@ insertRefs refkvs refclasses meta refs bs = put True -- refHeader isn't used if you have an explicit references div let cs' = ordNub $ cs ++ refclasses - return $ Div ("refs",cs',kvs) (xs ++ refs) + return $ Div ("refs",cs' ++ refclasses,kvs ++ refkvs) (xs ++ refs) go x = return x refTitle :: Meta -> Maybe [Inline] -- cgit v1.2.3