diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-03-30 23:03:57 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-03-30 23:03:57 +0200 |
commit | 136a53edc88513d0d300a50b9f77ff003baa512f (patch) | |
tree | 181f38a0bc240d6b8db26574521d6188b31ea0a2 | |
parent | 48039a1d80b114bbb726c29f7de9c6378cf07ae0 (diff) | |
download | pandoc-136a53edc88513d0d300a50b9f77ff003baa512f.tar.gz |
Fix compiler warning.
-rw-r--r-- | src/Text/Pandoc/Writers/Org.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/Org.hs b/src/Text/Pandoc/Writers/Org.hs index 28f4e8220..fc6608450 100644 --- a/src/Text/Pandoc/Writers/Org.hs +++ b/src/Text/Pandoc/Writers/Org.hs @@ -354,7 +354,7 @@ inlineToOrg (Math t str) = do return $ if t == InlineMath then "$" <> text str <> "$" else "$$" <> text str <> "$$" -inlineToOrg il@(RawInline f@(Format f') str) +inlineToOrg il@(RawInline f str) | isRawFormat f = return $ text str | otherwise = do report $ InlineNotRendered il |