diff options
| author | John MacFarlane <[email protected]> | 2025-11-05 12:50:23 +0100 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-11-05 12:51:30 +0100 |
| commit | 573921cc19949862d8829536a9da232176106658 (patch) | |
| tree | d1aab2e5001dec3e1a5674ae578fb7b3cb0ca73b /src | |
| parent | c660bd34197977e44ff55c7cfdc5a04ad193e186 (diff) | |
LaTeX reader: revert `\linebreak` as LineBreak.
`\linebreak` is more of a hint, it shouldn't produce
a hard break.
See #11272.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 1 |
1 files changed, 0 insertions, 1 deletions
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 |
