LaTeX writer: remove unused local bind
This commit is contained in:
parent
512732db7b
commit
5cffd6bc77
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue