Open nsychev opened 4 weeks ago
It should be obvious, but the problem is in (enabled by default) extension autolink_bare_uris
: if I disable it, everything works fine. But I think it should work even with it being turned on.
Yes, agreed. This would need to be changed in jgm/commonmark-hs. And in fact there is already an issue: https://github.com/jgm/commonmark-hs/issues/156
Oh, I looked up only over this repository and was surprised that nobody reported it yet.
Should I close this as a duplicate then?
I'll keep this open as a reminder. It would be good to fix this.
Explain the problem.
Hi! Thanks for your awesome tool.
I'm trying to convert this link using GFM reader:
For example, we can use this command:
I expect output to be the same as in
-f markdown
:but instead I get this:
I think pandoc tries to detect links inside square brackets
[...]
but shouldn't (when I havehttps://example.
it still works fine, buthttps://example.o
is broken).Pandoc version?
I have pandoc 3.3 locally and reproduced it at https://pandoc.org/try/