diff options
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/JATS.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/JATS.hs b/src/Text/Pandoc/Readers/JATS.hs index 559d92e66..e074599eb 100644 --- a/src/Text/Pandoc/Readers/JATS.hs +++ b/src/Text/Pandoc/Readers/JATS.hs @@ -181,7 +181,10 @@ parseBlock (Elem e) = "title" -> return mempty -- processed by header "table" -> parseTable "fig" -> parseFigure - "table-wrap" -> divWith (attrValue "id" e, ["table-wrap"], []) <$> getBlocks e + "fig-group" -> divWith (attrValue "id" e, ["fig-group"], []) + <$> getBlocks e + "table-wrap" -> divWith (attrValue "id" e, ["table-wrap"], []) + <$> getBlocks e "caption" -> divWith (attrValue "id" e, ["caption"], []) <$> sect 6 "ref-list" -> parseRefList e "?xml" -> return mempty |