From cb9c6f338c096cede257d4092229a42c38a3ca41 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 23 Feb 2016 20:43:58 -0700 Subject: 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. --- src/pandoc-citeproc-preamble.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3