aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-02-23 20:43:58 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-02-23 20:43:58 -0700
commitcb9c6f338c096cede257d4092229a42c38a3ca41 (patch)
tree1d86163c7f4aad7b03ac12b669809fad51ac0281 /src
parent926730962b0e0a9f0c327f0c2ebb181e708fc56a (diff)
downloadpandoc-citeproc-preamble-cb9c6f338c096cede257d4092229a42c38a3ca41.tar.gz
Revert "references -> refs (pandoc-citeproc change)"
This reverts commit 926730962b0e0a9f0c327f0c2ebb181e708fc56a. The change is to the first parameter of the div tuple, not the one we're actually matching.
Diffstat (limited to 'src')
-rw-r--r--src/pandoc-citeproc-preamble.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pandoc-citeproc-preamble.hs b/src/pandoc-citeproc-preamble.hs
index c538ed3..3453e49 100644
--- a/src/pandoc-citeproc-preamble.hs
+++ b/src/pandoc-citeproc-preamble.hs
@@ -31,7 +31,7 @@ import Text.Pandoc.JSON
insertPreamble :: Block -> [Block] -> [Block]
insertPreamble preamble = foldr step []
where
- step refsDiv@(Div (_, ["refs"], _) theRefs) xs =
+ step refsDiv@(Div (_, ["references"], _) theRefs) xs =
-- check whether pandoc-citeproc actually inserted any
-- references
if null theRefs