Closed cesarfd closed 4 years ago
Something like http://example.com/foo_bar..._
seems to work fine
NOW - works. After your change - will not.
Ok let me get this straight because maybe I'm missing something. Are you saying that http://example.com/link..._
should become http://example.com/link
? If that's the case, vscode detects both as valid links.
Instead, in this test:
http://example.com/foo_bar...
http://example.com/foo_bar
It's true that the detected url should be the one with no ..
at the end but if it has .._
at the end is still a valid url.
I provided you example, when User has "Text..." with URL in the end, and wrapped into italic. In this case you change will cause false positive for '...', that's not acceptable.
Mini change that allows underscore characters after
..
dots like in the test url.