Skip to content

Conversation

facelessuser
Copy link
Collaborator

New change requires us to monkey patch locatetagend to prevent capturing incomplete tags in code spans.

Fixes #1547

New change requires us to monkey patch `locatetagend` to prevent
capturing incomplete tags in code spans.
@facelessuser
Copy link
Collaborator Author

It looks like CI is using Beta 4 of Python 3.14, so I think this validates the change as no tests are failing.

@waylan waylan merged commit 23c301d into Python-Markdown:master Jul 21, 2025
16 checks passed
@mitya57
Copy link
Collaborator

mitya57 commented Aug 26, 2025

FYI: The breaking change was also backported to 3.13 branch, so the tests fail with Python 3.13.6 release: python/cpython@853b5c4.

In Debian I will add a downstream patch for this, but maybe making a new release will make sense too.

@facelessuser
Copy link
Collaborator Author

@mitya57 The latest version of Python Markdown should already work on 3.13.6. The fix had no conditionals for Python 3.14, so the fix should automatically apply to previous versions as long as the distribution picks up the latest Python Markdown.

@mitya57
Copy link
Collaborator

mitya57 commented Aug 27, 2025

What I meant is that this PR is not part of a stable Python-Markdown release yet.

@facelessuser
Copy link
Collaborator Author

Oh, makes sense. I thought it was already in the latest release.

@waylan
Copy link
Member

waylan commented Sep 4, 2025

A new release has been made.

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.

More HTML parsing test failures in Python 3.14 beta 4
3 participants