Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Python-Markdown/markdown
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.11.1
Choose a base ref
...
head repository: Python-Markdown/markdown
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.11.2
Choose a head ref
  • 6 commits
  • 11 files changed
  • 3 contributors

Commits on Oct 16, 2026

  1. Revert enforcement of CommonMark punctuation rules

    Some foreign languages are hindered by CommonMark style punctuation
    rules. For backwards compatibility, revert enforcement of CommonMark
    punctuation rules and leave that up to 3rd party libraries if desired.
    facelessuser authored and waylan committed Oct 16, 2026
    Configuration menu
    Copy the full SHA
    97233ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90cdcf5 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2026

  1. Sanitize attribute names in fenced_code and legacy_attrs

    An attribute name supplied through the attr_list {attrs} syntax on a fenced
    code block, or through the legacy_attrs {@name=value} syntax, was written to
    the output without sanitization. The attr_list scanner permits a name of
    [^ =}]+ and legacy_attrs permits [^}]*, both of which allow >, <, / and
    quotes, so a name such as x><svg/onload=alert(1) closed the enclosing tag and
    injected a live element. Reuse attr_list.sanitize_name, which the element path
    already applies, at both sites. Valid names are unchanged.
    naaz234 authored and waylan committed Oct 19, 2026
    Configuration menu
    Copy the full SHA
    a27428b View commit details
    Browse the repository at this point in the history
  2. Update AI Policy

    Explicitly require AI use disclosure and require use of PR & Issue templates when
    provided. This should give us the justification to easily close all submissions that
    are obviously autonomously submitted.
    waylan committed Oct 19, 2026
    Configuration menu
    Copy the full SHA
    2249ffd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    934c53e View commit details
    Browse the repository at this point in the history
  4. Bump version to 3.11.2

    waylan committed Oct 19, 2026
    Configuration menu
    Copy the full SHA
    b41e0aa View commit details
    Browse the repository at this point in the history
Loading