I have a Trello card with a Python code block, where each line starts with `>>>`. Eg
>>> import unicodedata
>>> e_acute = 'é'
But when I entered it in the web interface, the editor erroneously converted the `>>>` into `> \>>`.
I fixed it in the Android app. But the web interface still displays it incorrectly.
Hey @Craig McQueen !
Thanks for pointing this out.
The `>>>` symbols you're seeing are something you might recognize from older versions of Python's IDLE (Integrated Development and Learning Environment). They're used to show the Python prompt in the interactive shell but aren't actually part of the code you need to share or run.
As for why `>>>` turned into `> \>>`, that's because Trello, like many other platforms, uses Markdown or similar systems to format text. These systems use special characters for formatting, so they escape certain sequences to avoid messing up your text. Escaped characters help treat special characters as regular text instead of formatting commands.
It seems like Trello's web interface is escaping these characters even inside a code block, which usually shouldn't happen. Code blocks are meant to keep the original formatting, including any special characters.
I'll check in with our product team to see if this is how it's supposed to work or if it's a bug. If it's a bug, I'll make sure to report it so we can get it sorted out.
Thanks again for letting us know, and feel free to reach out if you have any other questions!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.