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

[BUG] @ breaks highlighting in hyperlinks #3327

Open
2 tasks done
plutonium-239 opened this issue Apr 10, 2024 · 1 comment
Open
2 tasks done

[BUG] @ breaks highlighting in hyperlinks #3327

plutonium-239 opened this issue Apr 10, 2024 · 1 comment

Comments

@plutonium-239
Copy link

plutonium-239 commented Apr 10, 2024

Describe the bug

Hyperlinks containing an @ symbol are not properly highlighted.
It is a valid character used by multiple large websites (youtube and twitter should be enough of an example)

Screenshot with minimal code:
image

Expected: The whole link to be highlighted instead of just before the @

Platform

Click to expand

Windows 10, Windows Terminal v1.19, Python 3.8.6

python -m rich.diagnose
image
image

pip freeze | grep rich
rich==13.7.1

Copy link

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

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

1 participant