Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.6k
Closed
Description
I recently noticed what I think is a change in Pandoc's behavior aroundgfm
.
$ pandoc -f markdown_strict -t gfm+hard_line_breaks <<EOFThe quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.EOFThe quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.
I don't think this is correct, as it would imply these paths do not yield the same result:
markdown_strict -> gfm+hard_line_breaks -> htmlmarkdown_strict -> html
In contrast, this problem doesnot occur withmarkdown_strict -> markdown_strict+hard_line_breaks
:
$ pandoc -f markdown_strict -t markdown+hard_line_breaks <<EOFThe quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.EOFThe quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.
This I would think ought to be the correct output of any-t <writer>+hard_line_breaks
.
$ pandoc --versionpandoc 2.5Compiled with pandoc-types 1.17.5.4, texmath 0.11.1.2, skylighting 0.7.5Default user data directory: /home/rf/.pandocCopyright (C) 2006-2018 John MacFarlaneWeb: http://pandoc.orgThis is free software; see the source for copying conditions.There is no warranty, not even for merchantability or fitnessfor a particular purpose.
Metadata
Metadata
Assignees
Labels
No labels