aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Citeproc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-10-07 11:23:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-10-07 11:23:28 -0700
commit1742821c3edb7d5d2ed7ced265e3b4c9f00e622a (patch)
treed8e69f03eeaff5fc716ad65e595b7c67e8440fe5 /src/Text/Pandoc/Citeproc.hs
parent3b2dd1e1b3389b6b3a13f7b2d1bb797a3af5d782 (diff)
downloadpandoc-1742821c3edb7d5d2ed7ced265e3b4c9f00e622a.tar.gz
Fix URL prefixes in citations also when they occur in notes.
Update chicago-fullnote-bibliography.csl and adjust tests. Closes #6723.
Diffstat (limited to 'src/Text/Pandoc/Citeproc.hs')
-rw-r--r--src/Text/Pandoc/Citeproc.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Citeproc.hs b/src/Text/Pandoc/Citeproc.hs
index 528be6cd7..a5cd26d18 100644
--- a/src/Text/Pandoc/Citeproc.hs
+++ b/src/Text/Pandoc/Citeproc.hs
@@ -164,9 +164,9 @@ processCitations (Pandoc meta bs) = do
walk (fixQuotes . mvPunct moveNotes locale) $ walk deNote $
evalState (walkM insertResolvedCitations $ Pandoc meta' bs)
$ cits
- return $ Pandoc meta''
- $ insertRefs refkvs classes meta''
- (walk fixLinks $ B.toList bibs) bs'
+ return $ walk fixLinks
+ $ Pandoc meta''
+ $ insertRefs refkvs classes meta'' (B.toList bibs) bs'
-- If we have a span.csl-left-margin followed by span.csl-right-inline,
-- we insert a space. This ensures that they will be separated by a space,