vercel / vercel/hyper

Hyperlinks at the end of a sentence erroneously include the period

Open
#4,444 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

I'm using the Azure CLI, and one of the help outputs had this text:

jaraco.functools master $ az devops service-endpoint github create --help

Command
    az devops service-endpoint github create : Create a GitHub service endpoint.
        For automation, set GitHub PAT token in AZURE_DEVOPS_EXT_GITHUB_PAT environment variable.
        You can learn more about this at https://aka.ms/azure-devops-cli-service-endpoint.

If I try to click on that URL, it is highlighted, but it doesn't work because the . is included in the URL. Many other systems like Slack are able to detect hyperlinks like these without including extraneous trailing characters. It would be nice if Hyper could do the same.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating Hyper's hyperlink detection behavior and reproduce the Azure CLI help output shown in the issue. Trace how URLs at line ends are identified, then verify that trailing sentence punctuation is excluded while the URL remains clickable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.