diff options
| author | John MacFarlane <[email protected]> | 2025-09-19 22:10:38 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-09-19 22:10:38 +0200 |
| commit | f64183fbbfa478a07e66db37736acf1817319b82 (patch) | |
| tree | 4b8af79a45d1d49ef127b7e4dfa9ff9a9783fe37 | |
| parent | 643712ca70b924c0edcc059699aa1ee42234be34 (diff) | |
Docx reader: handle figures in indented paragraphs.
Previously these were omitted. Closes #11028.
| -rw-r--r-- | src/Text/Pandoc/Readers/Docx.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Docx.hs b/src/Text/Pandoc/Readers/Docx.hs index b00dbd247..2852defc7 100644 --- a/src/Text/Pandoc/Readers/Docx.hs +++ b/src/Text/Pandoc/Readers/Docx.hs @@ -810,6 +810,8 @@ bodyPartToBlocks (Captioned parstyle parparts bpart) = do -> singleton $ Figure attr' capt [Plain im] [Div attr bls'] -> toCaptioned (attr <> attr') bls' + [BlockQuote bls'] + -> toCaptioned attr' bls' _ -> captContents pure $ toCaptioned nullAttr (toList bs) bodyPartToBlocks (Tbl _ _ _ _ []) = |
