From 136a53edc88513d0d300a50b9f77ff003baa512f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 30 Mar 2017 23:03:57 +0200 Subject: Fix compiler warning. --- src/Text/Pandoc/Writers/Org.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3