xtermjs / xterm.js

A terminal for the web
https://xtermjs.org/
MIT License
17.65k stars 1.63k forks source link

Hyperlinks at the end of a sentence erroneously include the period #2811

Closed jaraco closed 4 years ago

jaraco commented 4 years ago

As reported in zeit/hyper#4444, hyperlink detection is overly generous matching characters such as . in URLs that appear at the end of a sentence.

Other tools that do automatic hyperlink detection in free-form text may use heuristics to exclude characters at the end that are more likely part of the text than the URL. Other common but unwanted characters might include ) or ? or multiple like .”.

Tyriar commented 4 years ago

/duplicate https://github.com/xtermjs/xterm.js/issues/583