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

Avoid detecting invalid URLs with numbers around boundaries #498

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

nfrasser
Copy link
Owner

@nfrasser nfrasser commented Dec 4, 2024

Fixes #493

Prevents some extensions like somefile.mp4 from getting interpreted as URLs

Prevents some extensions like somefile.mp4 from getting interpreted as URLs
@nfrasser nfrasser self-assigned this Dec 4, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12153064414

Details

  • 21 of 21 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 97.682%

Totals Coverage Status
Change from base Build 12153028746: 0.01%
Covered Lines: 2860
Relevant Lines: 2906

💛 - Coveralls

@nfrasser nfrasser merged commit b72c682 into main Dec 4, 2024
4 checks passed
@nfrasser nfrasser deleted the alphanumerical branch December 4, 2024 04:41
@nfrasser nfrasser changed the title Combine mixed word/number tokens Correctly treat words with number boundaries as links Dec 4, 2024
@nfrasser nfrasser changed the title Correctly treat words with number boundaries as links Avoid detecting invalid URLs with numbers around boundaries Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Words with number boundaries incorrectly treated as Links
2 participants