From 573921cc19949862d8829536a9da232176106658 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 5 Nov 2025 12:50:23 +0100 Subject: [PATCH] LaTeX reader: revert `\linebreak` as LineBreak. `\linebreak` is more of a hint, it shouldn't produce a hard break. See #11272. --- src/Text/Pandoc/Readers/LaTeX.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index f12c73d7b..74fa24c75 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -408,7 +408,6 @@ inlineCommands = M.unions , ("thanks", skipopts >> note <$> grouped block) , ("footnote", skipopts >> footnote) , ("newline", pure B.linebreak) - , ("linebreak", pure B.linebreak) , ("passthrough", fixPassthroughEscapes <$> tok) -- \passthrough macro used by latex writer -- for listings