aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-08-20 13:32:54 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-08-21 09:18:46 -0700
commit88669fce6741b918f96aff2959cc5d1b6d871e0f (patch)
tree7b1b6a98293327419ea3e28e70f7e634357751b0 /src
parentc968fae89a3ad50a75f17885116ef885ec63e800 (diff)
downloadpandoc-citeproc-preamble-88669fce6741b918f96aff2959cc5d1b6d871e0f.tar.gz
updates for --filter pandoc-citeproc-preamble -> --citeproc change
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src')
-rw-r--r--src/pandoc-citeproc-preamble.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pandoc-citeproc-preamble.hs b/src/pandoc-citeproc-preamble.hs
index 4716e4a..94c68af 100644
--- a/src/pandoc-citeproc-preamble.hs
+++ b/src/pandoc-citeproc-preamble.hs
@@ -1,6 +1,6 @@
{-
- pandoc-citeproc-preamble --- Insert a preamble before pandoc-citeproc's bibliography
+ pandoc-citeproc-preamble --- Insert a preamble before Pandoc's bibliography
Copyright (C) 2015-2016, 2019 Sean Whitton
@@ -34,8 +34,7 @@ insertPreamble :: Block -> [Block] -> [Block]
insertPreamble preamble = foldr step []
where
step refsDiv@(Div ("refs", _, _) theRefs) xs =
- -- check whether pandoc-citeproc actually inserted any
- -- references
+ -- check whether Pandoc actually inserted any references
if null theRefs
then refsDiv : xs
else preamble : refsDiv : xs