Fixed HTML handling corner case that prevented some content from not being rendered (#1528).
Release 3.8
Changed
DRY fix in abbr extension by introducing method create_element (#1483).
Clean up test directory by removing some redundant tests and port
non-redundant cases to the newer test framework.
Improved performance of the raw HTML post-processor (#1510).
Fixed
Backslash Unescape IDs set via attr_list on toc (#1493).
Ensure md_in_html processes content inside "markdown" blocks as they are
parsed outside of "markdown" blocks to keep things more consistent for
third-party extensions (#1503).
md_in_html handle tags within inline code blocks better (#1075).
md_in_html fix handling of one-liner block HTML handling (#1074).
Ensure <center> is treated like a block-level element (#1481).
Ensure that abbr extension respects AtomicString and does not process
perceived abbreviations in these strings (#1512).
Fixed HTML handling corner case that prevented some content from not being rendered (#1528).
[3.8.0] - 2025-04-09
Changed
DRY fix in abbr extension by introducing method create_element (#1483).
Clean up test directory by removing some redundant tests and port
non-redundant cases to the newer test framework.
Improved performance of the raw HTML post-processor (#1510).
Fixed
Backslash Unescape IDs set via attr_list on toc (#1493).
Ensure md_in_html processes content inside "markdown" blocks as they are
parsed outside of "markdown" blocks to keep things more consistent for
third-party extensions (#1503).
md_in_html handle tags within inline code blocks better (#1075).
md_in_html fix handling of one-liner block HTML handling (#1074).
Ensure <center> is treated like a block-level element (#1481).
Ensure that abbr extension respects AtomicString and does not process
perceived abbreviations in these strings (#1512).
A new AbbrTreeprocessor has been introduced, which replaces the now deprecated
AbbrInlineProcessor. Abbreviation processing now happens after Attribute Lists,
avoiding a conflict between the two extensions (#1460).
The AbbrPreprocessor class has been renamed to AbbrBlockprocessor, which
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 commands and options
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 merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@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)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/16198
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 8/1/2025
**Status:** ✅ Merged
**Merged:** 8/2/2025
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `dependabot/pip/backend/dev/markdown-3.8.2`
---
### 📝 Commits (1)
- [`4b0bf31`](https://github.com/open-webui/open-webui/commit/4b0bf3130b56941a884f9ed21544150719a98985) chore(deps): bump markdown from 3.7 to 3.8.2 in /backend
### 📊 Changes
**1 file changed** (+1 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/requirements.txt` (+1 -1)
</details>
### 📄 Description
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.7 to 3.8.2.
<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.8.2</h2>
<h3>Fixed</h3>
<ul>
<li>Fix <code>codecs</code> deprecation in Python 3.14.</li>
<li>Fix issue with unclosed comment parsing in Python 3.14.</li>
<li>Fix issue with unclosed declarations in Python 3.14.</li>
<li>Fix issue with unclosed HTML tag <code><foo</code> and Python 3.14.</li>
</ul>
<h2>Release 3.8.1</h2>
<h3>Fixed</h3>
<ul>
<li>Ensure incomplete markup declaration in raw HTML doesn't crash parser (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1534">#1534</a>).</li>
<li>Fixed dropped content in <code>md_in_html</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1526">#1526</a>).</li>
<li>Fixed HTML handling corner case that prevented some content from not being rendered (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1528">#1528</a>).</li>
</ul>
<h2>Release 3.8</h2>
<h3>Changed</h3>
<ul>
<li>DRY fix in <code>abbr</code> extension by introducing method <code>create_element</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1483">#1483</a>).</li>
<li>Clean up test directory by removing some redundant tests and port
non-redundant cases to the newer test framework.</li>
<li>Improved performance of the raw HTML post-processor (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1510">#1510</a>).</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Backslash Unescape IDs set via <code>attr_list</code> on <code>toc</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1493">#1493</a>).</li>
<li>Ensure <code>md_in_html</code> processes content inside "markdown" blocks as they are
parsed outside of "markdown" blocks to keep things more consistent for
third-party extensions (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1503">#1503</a>).</li>
<li><code>md_in_html</code> handle tags within inline code blocks better (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1075">#1075</a>).</li>
<li><code>md_in_html</code> fix handling of one-liner block HTML handling (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1074">#1074</a>).</li>
<li>Ensure <code><center></code> is treated like a block-level element (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1481">#1481</a>).</li>
<li>Ensure that <code>abbr</code> extension respects <code>AtomicString</code> and does not process
perceived abbreviations in these strings (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1512">#1512</a>).</li>
<li>Ensure <code>smarty</code> extension correctly renders nested closing quotes (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1514">#1514</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.8.2] - 2025-06-19</h2>
<h3>Fixed</h3>
<ul>
<li>Fix <code>codecs</code> deprecation in Python 3.14.</li>
<li>Fix issue with unclosed comment parsing in Python 3.14.</li>
<li>Fix issue with unclosed declarations in Python 3.14.</li>
<li>Fix issue with unclosed HTML tag <code><foo</code> and Python 3.14.</li>
</ul>
<h2>[3.8.1] - 2025-06-18</h2>
<h3>Fixed</h3>
<ul>
<li>Ensure incomplete markup declaration in raw HTML doesn't crash parser (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1534">#1534</a>).</li>
<li>Fixed dropped content in <code>md_in_html</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1526">#1526</a>).</li>
<li>Fixed HTML handling corner case that prevented some content from not being rendered (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1528">#1528</a>).</li>
</ul>
<h2>[3.8.0] - 2025-04-09</h2>
<h3>Changed</h3>
<ul>
<li>DRY fix in <code>abbr</code> extension by introducing method <code>create_element</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1483">#1483</a>).</li>
<li>Clean up test directory by removing some redundant tests and port
non-redundant cases to the newer test framework.</li>
<li>Improved performance of the raw HTML post-processor (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1510">#1510</a>).</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Backslash Unescape IDs set via <code>attr_list</code> on <code>toc</code> (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1493">#1493</a>).</li>
<li>Ensure <code>md_in_html</code> processes content inside "markdown" blocks as they are
parsed outside of "markdown" blocks to keep things more consistent for
third-party extensions (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1503">#1503</a>).</li>
<li><code>md_in_html</code> handle tags within inline code blocks better (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1075">#1075</a>).</li>
<li><code>md_in_html</code> fix handling of one-liner block HTML handling (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1074">#1074</a>).</li>
<li>Ensure <code><center></code> is treated like a block-level element (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1481">#1481</a>).</li>
<li>Ensure that <code>abbr</code> extension respects <code>AtomicString</code> and does not process
perceived abbreviations in these strings (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1512">#1512</a>).</li>
<li>Ensure <code>smarty</code> extension correctly renders nested closing quotes (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1514">#1514</a>).</li>
</ul>
<h2>[3.7.0] - 2024-08-16</h2>
<h3>Changed</h3>
<ul>
<li>
<p>Refactor <code>abbr</code> Extension</p>
<p>A new <code>AbbrTreeprocessor</code> has been introduced, which replaces the now deprecated
<code>AbbrInlineProcessor</code>. Abbreviation processing now happens after Attribute Lists,
avoiding a conflict between the two extensions (<a href="https://redirect.github.com/Python-Markdown/markdown/issues/1460">#1460</a>).</p>
<p>The <code>AbbrPreprocessor</code> class has been renamed to <code>AbbrBlockprocessor</code>, which</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/Python-Markdown/markdown/commit/d9c8431e404d614812e39a11109afbe9981bba13"><code>d9c8431</code></a> Bump version to 3.8.2</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/9980cb5b27b07ff48283178d98213e41543701ec"><code>9980cb5</code></a> Fixes for Python 3.14</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/3561310d30dac10c47f0b9fc404b167fc65331b0"><code>3561310</code></a> Properly document version specification.</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/3bb9d42b93dae519d4f5a6eea970a571232e05e2"><code>3bb9d42</code></a> Update documentation for release process</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/3870f20ba1dd214609b380e921dffc5f115730f5"><code>3870f20</code></a> Bump version to 3.8.1</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/820721485c928c6f97f3d74f37afb6d2450aef9e"><code>8207214</code></a> Ensure incomplete markup declaration in raw HTML doesn't crash parser.</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/64a3c0fbc00327fbfee1fd6b44da0e5453287fe4"><code>64a3c0f</code></a> Fix HTML handling of <code>\</></code></li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/f2b9fd10f1fc7b0683f226e6a82da8e8375bccf5"><code>f2b9fd1</code></a> Ensure <code>md_in_html</code> does not drop content</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/513de8a0db81c840f917488af7078a45f74542bf"><code>513de8a</code></a> Update pypa/gh-action-pypi-publish to v1.12.4</li>
<li><a href="https://github.com/Python-Markdown/markdown/commit/b34e1d03387be771aa626241fe56f8f0c34243f2"><code>b34e1d0</code></a> Bump version to 3.8</li>
<li>Additional commits viewable in <a href="https://github.com/Python-Markdown/markdown/compare/3.7...3.8.2">compare view</a></li>
</ul>
</details>
<br />
[](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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/16198
Author: @dependabot[bot]
Created: 8/1/2025
Status: ✅ Merged
Merged: 8/2/2025
Merged by: @tjbck
Base:
dev← Head:dependabot/pip/backend/dev/markdown-3.8.2📝 Commits (1)
4b0bf31chore(deps): bump markdown from 3.7 to 3.8.2 in /backend📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/requirements.txt(+1 -1)📄 Description
Bumps markdown from 3.7 to 3.8.2.
Release notes
Sourced from markdown's releases.
Changelog
Sourced from markdown's changelog.
... (truncated)
Commits
d9c8431Bump version to 3.8.29980cb5Fixes for Python 3.143561310Properly document version specification.3bb9d42Update documentation for release process3870f20Bump version to 3.8.18207214Ensure incomplete markup declaration in raw HTML doesn't crash parser.64a3c0fFix HTML handling of\</>f2b9fd1Ensuremd_in_htmldoes not drop content513de8aUpdate pypa/gh-action-pypi-publish to v1.12.4b34e1d0Bump version to 3.8Dependabot 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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.