RTF writer: fix warnings for skipped raw inlines.

This commit is contained in:
John MacFarlane 2018-11-22 22:40:52 -05:00
parent e02500afe8
commit cc4ec3feee

View file

@ -410,7 +410,7 @@ inlineToRTF (Cite _ lst) = inlinesToRTF lst
inlineToRTF il@(RawInline f str)
| f == Format "rtf" = return str
| otherwise = do
return $ InlineNotRendered il
report $ InlineNotRendered il
return ""
inlineToRTF LineBreak = return "\\line "
inlineToRTF SoftBreak = return " "