We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug If there's number after hyphen it will be colored even I've escaped it.
from rich.console import Console from rich.markup import escape Console().rule(f"[on black]{escape('A-2')}[/on black]") Console().rule(f"[on black]{escape('A2')}[/on black]") Console().rule(f"[on black]{escape('A-A')}[/on black]")
Platform Windows, rich==13.7.1
The text was updated successfully, but these errors were encountered:
We found the following entry in the FAQ which you may find helpful:
Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review.
This is an automated reply, generated by FAQtory
Sorry, something went wrong.
disable highlight solves this highlight=False
I hope we solved your problem.
If you like using Rich, you might also enjoy Textual
No branches or pull requests
Describe the bug
If there's number after hyphen it will be colored even I've escaped it.
Platform
Windows, rich==13.7.1
The text was updated successfully, but these errors were encountered: