-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Restore and extend url linkifier #2066
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
Conversation
|
Weird, I'm not getting anything linkified when running this PR locally. |
|
Did you run npm install? |
|
Yup. I tried checking out the branch fresh, reinstalled node_modules, and then reloaded the extension. This is not linkified: https://github.com/sindresorhus/refined-github/pull/546/files#diff-36280fbf56b6409696e3d46d6b30118fR51 |
|
Classic! I had extracted the |
|
Still doesn't work for me. |
|
The push must have failed. Flaky internet |
Fixes #695 (oldest bug open)
Fixes #1499
Thanks to https://github.com/bfred-it/zip-text-nodes. Comments welcome on this package and its name too
Test
URLs in diffs
https://github.com/Homebrew/homebrew-core/pull/18015/files
URLs in regular files
/source/features/copy-markdown.js@
3f5fc48#L45URLs in PR files
https://github.com/sindresorhus/refined-github/pull/546/files#diff-36280fbf56b6409696e3d46d6b30118fR51
URLs in embedded code
https://github.com/sindresorhus/refined-github/blob/3f5fc489e417d4f4a14da5ea423775e9ca9246fd/source/features/copy-markdown.js#L45
Issue reference in file
/source/features/sort-issues-by-update-time.tsx@
2ade9a8#L18Issue reference in embedded code
https://github.com/sindresorhus/refined-github/blob/2ade9a84b1894c7879fab9d3e2d045e876f941a6/source/features/sort-issues-by-update-time.tsx#L18