Closed
Description
Nice module!
I've noticed the following odd behavior: when using rich.print with bbcode tags, if the string contains matching quotes the substring between the quotes is colored green.
from rich import print
# Contains a quote pair, Malley is printed in green
print("[bold]O'Malley's Bar[/bold]")
# Only one quote, prints as expected
print("[bold]O'Malleys Bar[/bold]")
I've tried this with a few different tags, swapping the internal quote types, and using Console.print() but all show the same behavior.
Metadata
Metadata
Assignees
Labels
No labels