From 5cffd6bc77896baf8a1a62fe6110cd90cf38a6b9 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Thu, 1 Nov 2018 13:38:20 +0300 Subject: LaTeX writer: remove unused local bind --- src/Text/Pandoc/Writers/LaTeX.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index a2c7ac34f..480c97356 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -1276,7 +1276,7 @@ inlineToLaTeX (Note contents) = do -- or the closing delimiter gets swallowed. handleMathComment :: String -> String handleMathComment s = - let (xs, ys) = break (\c -> c == '\n' || c == '%') $ reverse s + let (_, ys) = break (\c -> c == '\n' || c == '%') $ reverse s in case ys of '%':'\\':_ -> s '%':_ -> s ++ "\n" -- cgit v1.2.3