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.0
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.1
Choose a head ref
  • 9 commits
  • 25 files changed
  • 4 contributors

Commits on Sep 30, 2026

  1. Configuration menu
    Copy the full SHA
    b2125da View commit details
    Browse the repository at this point in the history
  2. Fix ancestor handling

    Ancestors used to continually add duplicate parents that were already
    present.
    
    Call `__build_ancestors` once at the beginning and then manage
    ancestors as appropriate.
    facelessuser authored Sep 30, 2026
    Configuration menu
    Copy the full SHA
    3002575 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2026

  1. Fix inline HTML case

    HTML handling is inconsistent. In some places it allows `<` and `>` in
    attributes, and in other places rejects it.
    
    The HTML spec allows for these in attributes, and browsers will escape
    them. While it is generally recommended that users escape `<` and `>`,
    it is not explicitly required.
    
    If the attribute is quoted, it should allow `<` and `>`.
    
    Update regex pattern to allow attributes with angled brackets and use
    possessive quantifiers to performance as we are now only supporting
    Python 3.10+.
    
    Fixes #1647
    facelessuser authored Oct 3, 2026
    Configuration menu
    Copy the full SHA
    7a29324 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2026

  1. Ensure that unterminated HTML tags do not cause text to be dropped

    Ensure we handle both `</` and `</content` such that content that comes
    after is not dropped.
    
    Fixes #1651
    facelessuser authored and waylan committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    7c265bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee57673 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2026

  1. Add playground to docs

    Zensical provides all of the necessary assets for Pyodide, Ace, and Highlight.js
    out of the box as part of its support for the Markdown Exec plugin. We just
    need to provide the HTML. I have manually crafted the HTML that Markdown
    Exec would render.
    
    Fixes #1628.
    waylan committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    3ade80d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0bf535b View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2026

  1. Rewrite emphasis handling

    - This is a complete rewrite of how emphasis handling is done.
    - Drop use of multiple regex patterns in run in multiple passes and
      instead evaluate delimiters, nested or otherwise, and build up HTML
      elements.
    - Try to consume tokens as much as possible until a full element is
      constructed (with children if any).
    - If an outer set of tokens cannot be resolved, but one or more sub
      tokens can, render the first sub token span and cache the remaining
      ones for subsequent reentry and render those until the cache is
      exhausted.
    - Two tests results were updated to match new behavior.
    - If Markdown object is ever left in a bad state reset the stack.
    This is a preventative measure to ensure the processor is always in a good
    state. This situation has never been observed, but if it did occur,
    this would allow the processor to reset its state and continue properly.
    Only extensions have a way to reset, processors don't. Nor do they have
    a way to detect when a reset would be needed.
    facelessuser authored Oct 13, 2026
    Configuration menu
    Copy the full SHA
    6f825aa View commit details
    Browse the repository at this point in the history
  2. Bump version to 3.11.1

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