git.iko.soy/typeable/pandoc
on master help sign in
Fixed something small that broke in rebase.
93e4cd9John MacFarlane
src/Text/Pandoc/Writers/Markdown.hs+1−1
@@ -1000,7 +1000,7 @@ inlineToMarkdown opts (Math DisplayMath str) =
1000 | isEnabled Ext_tex_math_double_backslash opts ->
1000 | isEnabled Ext_tex_math_double_backslash opts ->
1001 return $ "\\\\[" <> text str <> "\\\\]"
1001 return $ "\\\\[" <> text str <> "\\\\]"
1002 | otherwise -> (\x -> cr <> x <> cr) `fmap`
1002 | otherwise -> (\x -> cr <> x <> cr) `fmap`
1003− texMathToInlines DisplayMath str >>= inlineListToMarkdown opts
1003+ (texMathToInlines DisplayMath str >>= inlineListToMarkdown opts)
1004inlineToMarkdown opts (RawInline f str) = do
1004inlineToMarkdown opts (RawInline f str) = do
1005 plain <- asks envPlain
1005 plain <- asks envPlain
1006 if not plain &&
1006 if not plain &&