Skip to content

Commit

Permalink
JATS writer: fix 3.1.4 regression in handling block-level metadata.
Browse files Browse the repository at this point in the history
Closes #9092.
  • Loading branch information
jgm committed Sep 21, 2023
1 parent 26d077f commit a19cd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Writers/JATS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ docToJATS opts (Pandoc meta blocks') = do
then Just $ writerColumns opts
else Nothing
metadata <- metaToContext opts
(blocksToJATS opts)
(blocksToJATS opts . makeSections False (Just startLvl))
(fmap chomp . inlinesToJATS opts)
meta
main <- blocksToJATS opts bodyblocks
Expand Down

0 comments on commit a19cd39

Please sign in to comment.