summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-30 23:03:57 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-30 23:03:57 +0200
commit136a53edc88513d0d300a50b9f77ff003baa512f (patch)
tree181f38a0bc240d6b8db26574521d6188b31ea0a2 /src/Text/Pandoc
parent48039a1d80b114bbb726c29f7de9c6378cf07ae0 (diff)
Fix compiler warning.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/Org.hs2
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