Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jaraco opened this issue Apr 2, 2020 · 1 comment
Closed

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

jaraco opened this issue Apr 2, 2020 · 1 comment

Comments

@jaraco
Copy link

jaraco commented Apr 2, 2020

As reported in vercel/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
Copy link
Member

Tyriar commented Apr 2, 2020

/duplicate #583

@Tyriar Tyriar closed this as completed Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants