Skip to content

fix: allow nested brackets in markup.escape#6615

Open
Samarth-27 wants to merge 5 commits into
Textualize:mainfrom
Samarth-27:main
Open

fix: allow nested brackets in markup.escape#6615
Samarth-27 wants to merge 5 commits into
Textualize:mainfrom
Samarth-27:main

Conversation

@Samarth-27

Copy link
Copy Markdown

Fixes #6614. Updates the regex to handle nested brackets in markup.escape, preventing MarkupError on machine-generated strings.

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.

markup.escape() doesn't escape an outer tag when it contains a nested "["

1 participant