Skip to content

Commit 607d087

Browse files
fix(deps): update dependency markdown to v3.8 (#65)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [markdown](https://redirect.github.com/Python-Markdown/markdown) ([changelog](https://python-markdown.github.io/changelog/)) | `==3.4.4` -> `==3.8` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/markdown/3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/markdown/3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/markdown/3.4.4/3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/markdown/3.4.4/3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>Python-Markdown/markdown (markdown)</summary> ### [`v3.8`](https://redirect.github.com/Python-Markdown/markdown/releases/tag/3.8) [Compare Source](https://redirect.github.com/Python-Markdown/markdown/compare/3.7...3.8) ##### Changed - DRY fix in `abbr` extension by introducing method `create_element` ([#&#8203;1483](https://redirect.github.com/Python-Markdown/markdown/issues/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 ([#&#8203;1510](https://redirect.github.com/Python-Markdown/markdown/issues/1510)). ##### Fixed - Backslash Unescape IDs set via `attr_list` on `toc` ([#&#8203;1493](https://redirect.github.com/Python-Markdown/markdown/issues/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 ([#&#8203;1503](https://redirect.github.com/Python-Markdown/markdown/issues/1503)). - `md_in_html` handle tags within inline code blocks better ([#&#8203;1075](https://redirect.github.com/Python-Markdown/markdown/issues/1075)). - `md_in_html` fix handling of one-liner block HTML handling ([#&#8203;1074](https://redirect.github.com/Python-Markdown/markdown/issues/1074)). - Ensure `<center>` is treated like a block-level element ([#&#8203;1481](https://redirect.github.com/Python-Markdown/markdown/issues/1481)). - Ensure that `abbr` extension respects `AtomicString` and does not process perceived abbreviations in these strings ([#&#8203;1512](https://redirect.github.com/Python-Markdown/markdown/issues/1512)). - Ensure `smarty` extension correctly renders nested closing quotes ([#&#8203;1514](https://redirect.github.com/Python-Markdown/markdown/issues/1514)). ### [`v3.7`](https://redirect.github.com/Python-Markdown/markdown/releases/tag/3.7) [Compare Source](https://redirect.github.com/Python-Markdown/markdown/compare/3.6...3.7) ##### Changed ##### Refactor `abbr` Extension 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 ([#&#8203;1460](https://redirect.github.com/Python-Markdown/markdown/issues/1460)). The `AbbrPreprocessor` class has been renamed to `AbbrBlockprocessor`, which better reflects what it is. `AbbrPreprocessor` has been deprecated. A call to `Markdown.reset()` now clears all previously defined abbreviations. Abbreviations are now sorted by length before executing `AbbrTreeprocessor` to ensure that multi-word abbreviations are implemented even if an abbreviation exists for one of those component words. ([#&#8203;1465](https://redirect.github.com/Python-Markdown/markdown/issues/1465)) Abbreviations without a definition are now ignored. This avoids applying abbr tags to text without a title value. Added an optional `glossary` configuration option to the abbreviations extension. This provides a simple and efficient way to apply a dictionary of abbreviations to every page. Abbreviations can now be disabled by setting their definition to `""` or `''`. This can be useful when using the `glossary` option. ##### Fixed - Fixed links to source code on GitHub from the documentation ([#&#8203;1453](https://redirect.github.com/Python-Markdown/markdown/issues/1453)). ### [`v3.6`](https://redirect.github.com/Python-Markdown/markdown/releases/tag/3.6) [Compare Source](https://redirect.github.com/Python-Markdown/markdown/compare/3.5.2...3.6) ##### Changed ##### Refactor TOC Sanitation - All postprocessors are now run on heading content. - Footnote references are now stripped from heading content. Fixes [#&#8203;660](https://redirect.github.com/Python-Markdown/markdown/issues/660). - A more robust `striptags` is provided to convert headings to plain text. Unlike, the `markupsafe` implementation, HTML entities are not unescaped. - The plain text `name`, rich `html`, and unescaped raw `data-toc-label` are saved to `toc_tokens`, allowing users to access the full rich text content of the headings directly from `toc_tokens`. - The value of `data-toc-label` is sanitized separate from heading content before being written to `name`. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from `token['data-toc-label']` directly. - An `html.unescape` call is made just prior to calling `slugify` so that `slugify` only operates on Unicode characters. Note that `html.unescape` is not run on `name`, `html`, or `data-toc-label`. - The functions `get_name` and `stashedHTML2text` defined in the `toc` extension are both **deprecated**. Instead, third party extensions should use some combination of the new functions `run_postprocessors`, `render_inner_html` and `striptags`. ##### Fixed - Include `scripts/*.py` in the generated source tarballs ([#&#8203;1430](https://redirect.github.com/Python-Markdown/markdown/issues/1430)). - Ensure lines after heading in loose list are properly detabbed ([#&#8203;1443](https://redirect.github.com/Python-Markdown/markdown/issues/1443)). - Give smarty tree processor higher priority than toc ([#&#8203;1440](https://redirect.github.com/Python-Markdown/markdown/issues/1440)). - Permit carets (`^`) and square brackets (`]`) but explicitly exclude backslashes (`\`) from abbreviations ([#&#8203;1444](https://redirect.github.com/Python-Markdown/markdown/issues/1444)). - In attribute lists (`attr_list`, `fenced_code`), quoted attribute values are now allowed to contain curly braces (`}`) ([#&#8203;1414](https://redirect.github.com/Python-Markdown/markdown/issues/1414)). ### [`v3.5.2`](https://redirect.github.com/Python-Markdown/markdown/releases/tag/3.5.2) [Compare Source](https://redirect.github.com/Python-Markdown/markdown/compare/3.5.1...3.5.2) ##### Fixed - Fix type annotations for `convertFile` - it accepts only bytes-based buffers. Also remove legacy checks from Python 2 ([#&#8203;1400](https://redirect.github.com/Python-Markdown/markdown/issues/1400)) - Remove legacy import needed only in Python 2 ([#&#8203;1403](https://redirect.github.com/Python-Markdown/markdown/issues/1403)) - Fix typo that left the attribute `AdmonitionProcessor.content_indent` unset ([#&#8203;1404](https://redirect.github.com/Python-Markdown/markdown/issues/1404)) - Fix edge-case crash in `InlineProcessor` with `AtomicString` ([#&#8203;1406](https://redirect.github.com/Python-Markdown/markdown/issues/1406)). - Fix edge-case crash in `codehilite` with an empty `code` tag ([#&#8203;1405](https://redirect.github.com/Python-Markdown/markdown/issues/1405)). - Improve and expand type annotations in the code base ([#&#8203;1401](https://redirect.github.com/Python-Markdown/markdown/issues/1401)). - Fix handling of bogus comments ([#&#8203;1425](https://redirect.github.com/Python-Markdown/markdown/issues/1425)). ### [`v3.5.1`](https://redirect.github.com/Python-Markdown/markdown/releases/tag/3.5.1) [Compare Source](https://redirect.github.com/Python-Markdown/markdown/compare/3.5...3.5.1) ##### Fixed - Fix a performance problem with HTML extraction where large HTML input could trigger quadratic line counting behavior ([#&#8203;1392](https://redirect.github.com/Python-Markdown/markdown/issues/1392)). - Improve and expand type annotations in the code base ([#&#8203;1394](https://redirect.github.com/Python-Markdown/markdown/issues/1394)). ### [`v3.5`](https://redirect.github.com/Python-Markdown/markdown/compare/3.4.4...3.5) [Compare Source](https://redirect.github.com/Python-Markdown/markdown/compare/3.4.4...3.5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/Hapag-Lloyd/errbot). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNDguNCIsInVwZGF0ZWRJblZlciI6IjM5LjI0OC40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY3kiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent b7e1062 commit 607d087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"jinja2==3.1.6",
3636
"pyOpenSSL==24.3.0",
3737
"colorlog==6.9.0",
38-
"markdown==3.4.4",
38+
"markdown==3.8",
3939
"ansi==0.3.7",
4040
"Pygments==2.16.1",
4141
"pygments-markdown-lexer==0.1.0.dev39", # sytax coloring to debug md

0 commit comments

Comments
 (0)