git.iko.soy/typeable/pandoc
on master help sign in
Revert "LaTeX writer: put a strut after a line break (`\\`)."

This reverts commit e2a7ecb5f73b12c8141ebf873a494652fc53babd.

commit9867231779c32ddc2cce85d869de2ef586707244 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 21 Jun 2021, 23:19 (5 years ago) parente2a7ecb
1 file changed+1−1
src/Text/Pandoc/Writers/LaTeX.hs+1−1
src/Text/Pandoc/Writers/LaTeX.hs+1−1
@@ -919,7 +919,7 @@ inlineToLaTeX il@(RawInline f str) = do
919919inlineToLaTeX LineBreak = do
920920 emptyLine <- gets stEmptyLine
921921 setEmptyLine True
922− return $ (if emptyLine then "\\strut " else "") <> "\\\\ \\strut" <> cr
922+ return $ (if emptyLine then "\\strut " else "") <> "\\\\" <> cr
923923inlineToLaTeX SoftBreak = do
924924 wrapText <- gets (writerWrapText . stOptions)
925925 case wrapText of