← Back to Pull requests

Bump markdown from 3.11.3 to 3.11.4 in /docs #8929

Closed
unknown closed this pull request without merging on Dec 03, 2026 13:24 UTC
View on GitHub
unknown unknown commented on Nov 30, 2026 13:52 UTC
Author

Bumps markdown from 3.11.3 to 3.11.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/releases">markdown's releases</a>.</em></p>
<blockquote>
<h2>Release 3.11.4</h2>
<h3>Fixed</h3>
<ul>
<li>Fix quadratic rendering time for many unclosed square brackets in links
and images (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/798">#798</a>).</li>
<li>The <code>footnotes</code> extension no longer takes quadratic time to assign ids
to many references to the same footnote (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1726">#1726</a>).</li>
<li>Release the parsed tree and source lines in <code>reset()</code> so a reused <code>Markdown</code>
instance no longer retains the last document in memory (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1725">#1725</a>).</li>
<li>The <code>toc</code> extension no longer raises <code>TypeError</code> for a heading whose
<code>data-toc-label</code> attribute is present but valueless, as the <code>attr_list</code>
extension's bare-attribute syntax (<code>{: data-toc-label }</code>) writes it: like a
heading with no <code>data-toc-label</code>, its text is used as the TOC name (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1712">#1712</a>).</li>
<li>The <code>toc</code> extension no longer raises <code>TypeError</code> for a heading whose <code>id</code>
attribute is present but valueless, as the <code>attr_list</code> extension's
bare-attribute syntax (<code>{id}</code>) writes it: like a heading with no <code>id</code> at
all, it now gets a generated slug (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1705">#1705</a>).</li>
<li>Fix for complex cases in new emphasis handling where text could be
unexpectedly dropped (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1694">#1694</a>).</li>
<li>Fix rule of 3 handling in new emphasis handling where an opener skipped by
the rule could still be paired with the closer, dropping text (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1694">#1694</a>).</li>
<li>Fix the unused part of a partially consumed closing delimiter run being
classified using the replacement placeholder instead of the text that
preceded it (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1694">#1694</a>).</li>
<li>Fix quadratic processing time in the <code>fenced_code</code> extension for documents
with many fenced code blocks (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1660">#1660</a>).</li>
<li>Reduce processing time for long blocks which are split into many smaller
blocks: the rest of the block is no longer scanned with a regular expression
for a hash header or an admonition when it cannot contain one, and Setext
headers no longer split and rejoin the rest of the block (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1703">#1703</a>).</li>
<li>Stop list nesting short of the interpreter's recursion limit, as blockquote
nesting already is, instead of raising <code>RecursionError</code> on a deeply nested
list. The markers which no longer nest are kept as text (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1679">#1679</a>).</li>
<li>Fix quadratic-time splitting of a list block whose items span many lines,
which dominated the time taken to render a deeply nested list (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1679">#1679</a>).</li>
<li>Stop definition list nesting short of the recursion limit, so deeply nested
definitions are kept as text instead of raising an uncaught
<code>RecursionError</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1700">#1700</a>).</li>
<li>Fix quadratic processing time in the <code>tables</code> extension for long blocks which
are split into many smaller blocks, such as many headers with no blank lines
between them (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1704">#1704</a>).</li>
<li>Fix quadratic processing time in emphasis handling for many unclosed openers
which the rule of 3 keeps an ambiguous closer from pairing with, such as
<code>a b</code> repeated (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1720">#1720</a>).</li>
<li>Abbreviation definitions in the <code>abbr</code> extension no longer span lines. A
line which starts with <code>
[</code> but is not a definition was read up to a later
definition in the same block, dropping the lines in between, and many such
lines in one block took quadratic time (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1728">#1728</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md">markdown's changelog</a>.</em></p>
<blockquote>
<h2>[3.11.4] - 2026-11-25</h2>
<h3>Fixed</h3>
<ul>
<li>Fix quadratic rendering time for many unclosed square brackets in links
and images (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/798">#798</a>).</li>
<li>The <code>footnotes</code> extension no longer takes quadratic time to assign ids
to many references to the same footnote (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1726">#1726</a>).</li>
<li>Release the parsed tree and source lines in <code>reset()</code> so a reused <code>Markdown</code>
instance no longer retains the last document in memory (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1725">#1725</a>).</li>
<li>The <code>toc</code> extension no longer raises <code>TypeError</code> for a heading whose
<code>data-toc-label</code> attribute is present but valueless, as the <code>attr_list</code>
extension's bare-attribute syntax (<code>{: data-toc-label }</code>) writes it: like a
heading with no <code>data-toc-label</code>, its text is used as the TOC name (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1712">#1712</a>).</li>
<li>The <code>toc</code> extension no longer raises <code>TypeError</code> for a heading whose <code>id</code>
attribute is present but valueless, as the <code>attr_list</code> extension's
bare-attribute syntax (<code>{id}</code>) writes it: like a heading with no <code>id</code> at
all, it now gets a generated slug (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1705">#1705</a>).</li>
<li>Fix for complex cases in new emphasis handling where text could be
unexpectedly dropped (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1694">#1694</a>).</li>
<li>Fix rule of 3 handling in new emphasis handling where an opener skipped by
the rule could still be paired with the closer, dropping text (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1694">#1694</a>).</li>
<li>Fix the unused part of a partially consumed closing delimiter run being
classified using the replacement placeholder instead of the text that
preceded it (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1694">#1694</a>).</li>
<li>Fix quadratic processing time in the <code>fenced_code</code> extension for documents
with many fenced code blocks (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1660">#1660</a>).</li>
<li>Reduce processing time for long blocks which are split into many smaller
blocks: the rest of the block is no longer scanned with a regular expression
for a hash header or an admonition when it cannot contain one, and Setext
headers no longer split and rejoin the rest of the block (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1703">#1703</a>).</li>
<li>Stop list nesting short of the interpreter's recursion limit, as blockquote
nesting already is, instead of raising <code>RecursionError</code> on a deeply nested
list. The markers which no longer nest are kept as text (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1679">#1679</a>).</li>
<li>Fix quadratic-time splitting of a list block whose items span many lines,
which dominated the time taken to render a deeply nested list (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1679">#1679</a>).</li>
<li>Stop definition list nesting short of the recursion limit, so deeply nested
definitions are kept as text instead of raising an uncaught
<code>RecursionError</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1700">#1700</a>).</li>
<li>Fix quadratic processing time in the <code>tables</code> extension for long blocks which
are split into many smaller blocks, such as many headers with no blank lines
between them (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1704">#1704</a>).</li>
<li>Fix quadratic processing time in emphasis handling for many unclosed openers
which the rule of 3 keeps an ambiguous closer from pairing with, such as
<code>a b</code> repeated (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1720">#1720</a>).</li>
<li>Abbreviation definitions in the <code>abbr</code> extension no longer span lines. A
line which starts with <code>
</code> but is not a definition was read up to a later
definition in the same block, dropping the lines in between, and many such
lines in one block took quadratic time (<a href="
https://redirect.github.com/Python-Markdown/markdown/issues/1728">#1728</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/Python-Markdown/markdown/commit/27c014198021f71442301319981a3ed366ae2ad1"><code>27c0141</code></a> Bump version to 3.11.4</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/6eb4e3eaa86ae29196e034425c449b2f89cf90d6"><code>6eb4e3e</code></a> Fix quadratic time for unclosed brackets in link text</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/df8b658c5fef18241bb443888e0af3ecdb8cec8f"><code>df8b658</code></a> Release parsed tree and source lines after convert()</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/4533285c3da10015f1d99c51f29352096d7e533f"><code>4533285</code></a> Avoid quadratic time for duplicate footnote references</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/8d20c3b4fef8098272aab06960623ce4201aeef2"><code>8d20c3b</code></a> Limit abbreviation definitions to one line</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/5a9c1ae993458784b6fa7aced2a3457dfd7ac9f3"><code>5a9c1ae</code></a> docs: fix possessive in contributing guide</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/618441a6d6082af74c14e068701dd4b80bb27d9b"><code>618441a</code></a> tests: fix typo in extension name (non_existant → non_existent)</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/5609061bd3359e882b745de184ebfe5ef1c08011"><code>5609061</code></a> Avoid rescanning delimiter stacks for the rule of 3</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/e3c7f60cc294f1ef62239a3d1da591e0f5cbc98f"><code>e3c7f60</code></a> Fix dead Babelmark FAQ link in docs index</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/2c96e36ba4750cf18583d62e2fcecff49e077419"><code>2c96e36</code></a> Fix toc crash on a heading with a valueless data-toc-label</li>
<li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.11.3...3.11.4">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: twz123 Review duration: 4291m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #8929"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%
    Repository