cmark-gfm icon indicating copy to clipboard operation
cmark-gfm copied to clipboard

Auto link trailing punctuations(' and ")

Open yuin opened this issue 3 years ago • 1 comments

Spec says

Trailing punctuation (specifically, ?, !, ., ,, :, *, _, and ~) will not be considered part of the autolink, though they may be included in the interior of the link:

But the implementation

https://github.com/github/cmark-gfm/blob/6a6e335709ef68cf2c616eeaf61b09ed4c654669/extensions/autolink.c#L58

handles ' and " as excluded punctuations.

Which one is correct?

yuin avatar Dec 03 '22 14:12 yuin

Which one is correct?

Waiting on response.

jmooring avatar Jan 27 '23 19:01 jmooring