jgm / pandoc

Universal markup converter
https://pandoc.org
Other
33.47k stars 3.32k forks source link

Commonmark Writer removes link text #2203

Closed mike-ward closed 9 years ago

mike-ward commented 9 years ago

Converting to Commonmark removes the link text:

pandoc -f commonmark -t commonmark
[test](http://example.com)
^Z
<http://example.com>
jgm commented 9 years ago

Strange! I did round-trip tests at one point, which I would have thought would have caught this. I guess better tests are needed.

+++ Mike Ward [Jun 01 15 06:19 ]:

Converting to Commonmark removes the link text: pandoc -f commonmark -t commonmark test ^Z http://example.com

— Reply to this email directly or [1]view it on GitHub.

References

  1. https://github.com/jgm/pandoc/issues/2203
jgm commented 9 years ago

Oh, this is actually a bug with libcmark:

% cmark -t commonmark
[test](http://example.com)
<http://example.com>

Want to report it on jgm/cmark?

jgm commented 9 years ago

Reported as jgm/cmark#50

jgm commented 9 years ago

Fixed by 70b76bb6337a847976fbc54331b7eee521c45ec0