@@ -875,7 +875,7 @@ blockToOpenXML' opts (Para [Image attr alt (src,'f':'i':'g':':':tit)]) = do
875 let prop = pCustomStyle $
875 let prop = pCustomStyle $
876 if null alt
876 if null alt
877 then "Figure"
877 then "Figure"
878− else "FigureWithCaption"
878+ else "CaptionedFigure"
879 paraProps <- local (\env -> env { envParaProperties = prop : envParaProperties env }) (getParaProps False)
879 paraProps <- local (\env -> env { envParaProperties = prop : envParaProperties env }) (getParaProps False)
880 contents <- inlinesToOpenXML opts [Image attr alt (src,tit)]
880 contents <- inlinesToOpenXML opts [Image attr alt (src,tit)]
881 captionNode <- withParaProp (pCustomStyle "ImageCaption")
881 captionNode <- withParaProp (pCustomStyle "ImageCaption")