Docx reader: handle figures in indented paragraphs.

Previously these were omitted.  Closes #11028.
This commit is contained in:
John MacFarlane
2025-09-19 22:10:38 +02:00
parent 643712ca70
commit f64183fbbf
+2
View File
@@ -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 _ _ _ _ []) =