summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulia Diaz <julia.diaz@gmail.com>2023-08-26 18:31:48 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2023-08-26 16:07:56 -0700
commit99340446685eed812895c7fb7028979dc6975ab3 (patch)
tree15557b6788437fc2edae7d2417ff30072d7da6b4 /src
parent5410514567721d0ee347d192bf3c6e4707739197 (diff)
Correct name of JATS element attrib
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/JATS.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/JATS.hs b/src/Text/Pandoc/Readers/JATS.hs
index 7b32f1e28..5a115f99b 100644
--- a/src/Text/Pandoc/Readers/JATS.hs
+++ b/src/Text/Pandoc/Readers/JATS.hs
@@ -242,7 +242,7 @@ parseBlock (Elem e) = do
return $ codeBlockWith (attrValue "id" e, classes', [])
$ trimNl $ strContentRecursive e
parseBlockquote = do
- attrib <- case filterChild (named "attribution") e of
+ attrib <- case filterChild (named "attrib") e of
Nothing -> return mempty
Just z -> para . (str "— " <>) . mconcat
<$>