aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-09-01 13:21:27 -0700
committerJohn MacFarlane <[email protected]>2022-09-01 13:21:27 -0700
commita312faffa8729c266dd098a71c1d28d1e5cfd53b (patch)
tree17f04b71d5faf48a5726a345b629e5f461f2ab9b /src/Text
parent553416a20d32cac032f4f82855275107ad9c00b3 (diff)
JATS reader: handle uri element in references.
Closes #8270.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/JATS.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/JATS.hs b/src/Text/Pandoc/Readers/JATS.hs
index a86cc0e4c..e7acc138c 100644
--- a/src/Text/Pandoc/Readers/JATS.hs
+++ b/src/Text/Pandoc/Readers/JATS.hs
@@ -444,6 +444,7 @@ parseRef e = do
"issue" -> Just . ("issue",) . toMetaValue <$> getInlines el
"isbn" -> Just . ("ISBN",) . toMetaValue <$> getInlines el
"issn" -> Just . ("ISSN",) . toMetaValue <$> getInlines el
+ "uri" -> Just . ("url",) . toMetaValue <$> getInlines el
"fpage" ->
case filterChild (named "lpage") c of
Just lp -> Just . ("page",) . toMetaValue <$>