diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-11-22 22:40:52 -0500 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-11-22 22:40:52 -0500 |
commit | cc4ec3feeeff2d88582b516521c8c958ef509fc6 (patch) | |
tree | 61000318f9d082c6d605409d0e888ba90f346d59 /src | |
parent | e02500afe842b709e7b8a48cf3db5b125f9516ff (diff) | |
download | pandoc-cc4ec3feeeff2d88582b516521c8c958ef509fc6.tar.gz |
RTF writer: fix warnings for skipped raw inlines.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/RTF.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/RTF.hs b/src/Text/Pandoc/Writers/RTF.hs index ed8dc9ae4..99f343163 100644 --- a/src/Text/Pandoc/Writers/RTF.hs +++ b/src/Text/Pandoc/Writers/RTF.hs @@ -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 " " |