git.iko.soy/typeable/pandoc
on master help sign in
HLint: use /=
commitc8fc0a03748ceb4dbea502297ece89eac9d73aff authorHenry de Valence <hdevalence@hdevalence.ca> dateThu 19 Dec 2013, 20:46 (13 years ago) parentf6d1518
1 file changed+1−1
src/Text/Pandoc/Writers/LaTeX.hs+1−1
src/Text/Pandoc/Writers/LaTeX.hs+1−1
@@ -190,7 +190,7 @@ stringToLaTeX _ [] = return ""
190190stringToLaTeX ctx (x:xs) = do
191191 opts <- gets stOptions
192192 rest <- stringToLaTeX ctx xs
193− let ligatures = writerTeXLigatures opts && not (ctx == CodeString)
193+ let ligatures = writerTeXLigatures opts && (ctx /= CodeString)
194194 let isUrl = ctx == URLString
195195 when (x == '€') $
196196 modify $ \st -> st{ stUsesEuro = True }