multiversx / mx-sdk-py-cli

Python Command Line Tools and SDK for interacting with the MultiversX blockchain and dApps.
Other
34 stars 36 forks source link

Escape message when printing using rich #379

Closed popenta closed 8 months ago

popenta commented 8 months ago

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().