RTF writer: fix warnings for skipped raw inlines.
commitcc4ec3feeeff2d88582b516521c8c958ef509fc6
authorJohn MacFarlane <jgm@berkeley.edu>
dateThu 22 Nov 2018, 22:40 (8 years ago)
parente02500a
src/Text/Pandoc/Writers/RTF.hs+1−1
@@ -410,7 +410,7 @@ inlineToRTF (Cite _ lst) = inlinesToRTF lst
410410inlineToRTF il@(RawInline f str)
411411 | f == Format "rtf" = return str
412412 | otherwise = do
413− return $ InlineNotRendered il
413+ report $ InlineNotRendered il
414414 return ""
415415inlineToRTF LineBreak = return "\\line "
416416inlineToRTF SoftBreak = return " "