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

Escape message when printing using rich #379

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Conversation

popenta
Copy link
Contributor

@popenta popenta commented Dec 15, 2023

We used to display messages that could contain paths that were formatted like: [/home/...] and rich would consider it a closing tag and it would throw an error like:

closing tag '[/home/...]' at position x doesn't match any open tag

This is now fixed by using rich.markup.escape().

@popenta popenta self-assigned this Dec 15, 2023
@popenta popenta merged commit 64634bd into main Dec 15, 2023
11 checks passed
@popenta popenta deleted the fix-rich-formatting branch December 15, 2023 15:26
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.

4 participants