-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
I usually wrap long lines in my markdown files for more readability. I just realized that this may break URL links.
MWE (second line wrapped automatically by Emacs' markdown-mode):
[Test link with title on the same line is OK](http://fooooooooooooooooo.bar "Foo bar")
[Test link with title on the next line is KO](http://fooooooooooooooooo.bar
"Foo bar")
Then, with Pandoc version: 3.6.2:
$ pandoc -t html test-link_wit_title.md
<p><a href="http://fooooooooooooooooo.bar" title="Foo bar">Test link
with title on the same line is OK</a></p>
<p><a href="http://fooooooooooooooooo.bar%20%22Foo%20bar%22">Test link
with title on the next line is KO</a></p>
I couldn't find the exact markdown specification, so wonder if it's a bug or a design limitation
-- See also this foreign report.