Skip to content

Conversation

waylan
Copy link
Member

@waylan waylan commented Jun 18, 2025

See Python bug report at gh-77057 for details. Until we drop support for Python < 3.13 (where this was fixed upstream), we need to avoid the unwanted error by checking for it explicitly. Fixes #1534.

As a reminder, the html_in_md tests inherit the standard HTML parser tests. Therefore, the one new test is run twice, once for each HTML parser. In other words, with the one test added and no changes to the code, we would get 2 failures.

waylan added 2 commits June 18, 2025 10:00
See Python bug report at gh-77057 for details. Until we drop support for
Python < 3.13 (where this was fixed upstream), we need to avoid the
unwanted error by checking for it explicitly. Fixes Python-Markdown#1534.
@waylan waylan merged commit 8207214 into Python-Markdown:master Jun 18, 2025
15 checks passed
@waylan waylan deleted the 1534 branch June 18, 2025 14:29
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.

Uncaught exceptions/crashes when parsing malformed <![ marked sections in Python-Markdown 3.8 with extra extension
2 participants