git.iko.soy/typeable/pandoc
on master help sign in
RTF writer: fix warnings for skipped raw inlines.
cc4ec3fJohn MacFarlane
src/Text/Pandoc/Writers/RTF.hs+1−1
@@ -410,7 +410,7 @@ inlineToRTF (Cite _ lst) = inlinesToRTF lst
410inlineToRTF il@(RawInline f str)
410inlineToRTF il@(RawInline f str)
411 | f == Format "rtf" = return str
411 | f == Format "rtf" = return str
412 | otherwise = do
412 | otherwise = do
413− return $ InlineNotRendered il
413+ report $ InlineNotRendered il
414 return ""
414 return ""
415inlineToRTF LineBreak = return "\\line "
415inlineToRTF LineBreak = return "\\line "
416inlineToRTF SoftBreak = return " "
416inlineToRTF SoftBreak = return " "