diff --git a/rich/markup.py b/rich/markup.py index cfedc64a..60eb94a6 100644 --- a/rich/markup.py +++ b/rich/markup.py @@ -173,4 +173,4 @@ if __name__ == "__main__": # pragma: no cover print(escape("[red]")) print(escape(r"\[red]")) print(escape(r"\\[red]")) - print(escape(r"\\\[red]")) \ No newline at end of file + print(escape(r"\\\[red]"))