summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2023-09-07 09:16:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2023-09-07 09:16:25 -0700
commit1ad99f64faa201806c980f277f5724d43bd706d1 (patch)
tree2b1e6ab361fec53c0709f366199c0fc7d39c3938
parentdb9aa720373987a8b13ee3ffb62ea4f95c6c5ee0 (diff)
HTML writer: Fix CSL entry-spacing default.
See #9058.
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs
index adabd302e..efe750ecc 100644
--- a/src/Text/Pandoc/Writers/HTML.hs
+++ b/src/Text/Pandoc/Writers/HTML.hs
@@ -356,7 +356,6 @@ pandocToHtml opts (Pandoc meta blocks) = do
then defField "csl-css" True .
(case stCslEntrySpacing st of
Nothing -> id
- Just 0 -> id
Just n ->
defField "csl-entry-spacing"
(literal $ tshow n <> "em"))