diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-10-07 11:23:28 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-10-07 11:23:28 -0700 |
commit | 1742821c3edb7d5d2ed7ced265e3b4c9f00e622a (patch) | |
tree | d8e69f03eeaff5fc716ad65e595b7c67e8440fe5 /src | |
parent | 3b2dd1e1b3389b6b3a13f7b2d1bb797a3af5d782 (diff) | |
download | pandoc-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')
-rw-r--r-- | src/Text/Pandoc/Citeproc.hs | 6 |
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, |