markdown-it / linkify-it

Links recognition library with full unicode support
http://markdown-it.github.io/linkify-it/
MIT License
668 stars 63 forks source link

Bugfix for: Links with "_" in the domain name are not regarded as links #96

Open ZibanPirate opened 3 years ago

ZibanPirate commented 3 years ago

This PR fixed the bug reported in #95

The change is adding a _ in src_pseudo_letter regEx, to be able to detect links such as:

which are valid links, see: https://stackoverflow.com/a/2183140/8113942

type of change: