mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 13:51:29 +08:00
LaTeX reader: revert \linebreak as LineBreak.
`\linebreak` is more of a hint, it shouldn't produce a hard break. See #11272.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user