aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-02-15 10:29:11 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-15 10:29:11 -0800
commit1cfd0fb33c77815a5ebe21403bf6b234668154fa (patch)
treed4837a94222ec2b5ea74ec0b153056b1792f4315 /src/Text/Pandoc
parent39889c22df578a4310bcf549fcd507c08fbf1416 (diff)
downloadpandoc-1cfd0fb33c77815a5ebe21403bf6b234668154fa.tar.gz
Revert "JATS writer: Support citations."
This reverts commit 39889c22df578a4310bcf549fcd507c08fbf1416.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/JATS.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Text/Pandoc/Writers/JATS.hs b/src/Text/Pandoc/Writers/JATS.hs
index 34c9828eb..03bcde414 100644
--- a/src/Text/Pandoc/Writers/JATS.hs
+++ b/src/Text/Pandoc/Writers/JATS.hs
@@ -377,10 +377,9 @@ inlineToJATS opts SoftBreak
inlineToJATS opts (Note contents) =
-- TODO technically only <p> tags are allowed inside
inTagsIndented "fn" <$> blocksToJATS opts contents
-inlineToJATS opts (Cite cs lst) = do
- contents <- inlinesToJATS opts lst
- let rid = unwords $ map citationId cs
- return $ inTags False "xref" [("ref-type","bibr"),("rid",rid)] contents
+inlineToJATS opts (Cite _ lst) =
+ -- TODO revisit this after examining the jats.csl pipeline
+ inlinesToJATS opts lst
inlineToJATS opts (Span ("",_,[]) ils) = inlinesToJATS opts ils
inlineToJATS opts (Span (ident,_,kvs) ils) = do
contents <- inlinesToJATS opts ils