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.
This commit is contained in:
John MacFarlane 2021-05-17 20:42:43 -07:00
parent 1843a8793a
commit 56fb4dae1b

View file

@ -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]