JATS reader: Support fig-group block element (#5317).

This commit is contained in:
John MacFarlane 2019-03-02 16:52:19 -08:00
parent a4eaacc396
commit b083a3c384

View file

@ -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