Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency markdown to v3 #203

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 18, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
markdown (changelog) ==2.6.11 -> ==3.7 age adoption passing confidence

Release Notes

Python-Markdown/markdown (markdown)

v3.7

Compare Source

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 (#​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. (#​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 (#​1453).

v3.6

Compare Source

Changed
Refactor TOC Sanitation
  • All postprocessors are now run on heading content.
  • Footnote references are now stripped from heading content. Fixes #​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 (#​1430).
  • Ensure lines after heading in loose list are properly detabbed (#​1443).
  • Give smarty tree processor higher priority than toc (#​1440).
  • Permit carets (^) and square brackets (]) but explicitly exclude
    backslashes (\) from abbreviations (#​1444).
  • In attribute lists (attr_list, fenced_code), quoted attribute values are
    now allowed to contain curly braces (}) (#​1414).

v3.5.2

Compare Source

Fixed
  • Fix type annotations for convertFile - it accepts only bytes-based buffers.
    Also remove legacy checks from Python 2 (#​1400)
  • Remove legacy import needed only in Python 2 (#​1403)
  • Fix typo that left the attribute AdmonitionProcessor.content_indent unset
    (#​1404)
  • Fix edge-case crash in InlineProcessor with AtomicString (#​1406).
  • Fix edge-case crash in codehilite with an empty code tag (#​1405).
  • Improve and expand type annotations in the code base (#​1401).
  • Fix handling of bogus comments (#​1425).

v3.5.1

Compare Source

Fixed
  • Fix a performance problem with HTML extraction where large HTML input could
    trigger quadratic line counting behavior (#​1392).
  • Improve and expand type annotations in the code base (#​1394).

v3.5

Compare Source

v3.4.4

Compare Source

v3.4.3

Compare Source

v3.4.2

Compare Source

v3.4.1

Compare Source

v3.4

Compare Source

v3.3.7

Compare Source

v3.3.6

Compare Source

v3.3.5

Compare Source

v3.3.4

Compare Source

v3.3.3

Compare Source

v3.3.2

Compare Source

v3.3.1

Compare Source

v3.3

Compare Source

v3.2.2

Compare Source

v3.2.1

Compare Source

v3.2

Compare Source

v3.1.1

Compare Source

v3.1

Compare Source

v3.0.1

Compare Source

v3.0

Compare Source


Configuration

📅 Schedule: Branch creation - "* * * * 0,6" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/markdown-3.x branch 2 times, most recently from 48045d0 to 32ca740 Compare March 23, 2023 17:43
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 32ca740 to 9583b7b Compare July 10, 2023 15:42
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 9583b7b to 3cec0d4 Compare July 25, 2023 16:02
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 3cec0d4 to 7f0d2d2 Compare October 6, 2023 22:40
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 7f0d2d2 to 486b7fb Compare November 21, 2023 23:07
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 486b7fb to 707ab84 Compare January 10, 2024 15:28
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 707ab84 to 831f1d5 Compare March 14, 2024 17:04
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from 831f1d5 to db79ec9 Compare April 18, 2024 13:26
@renovate renovate bot force-pushed the renovate/markdown-3.x branch 2 times, most recently from 6fa861b to d808336 Compare June 26, 2024 11:12
@renovate renovate bot force-pushed the renovate/markdown-3.x branch from d808336 to 97311b5 Compare August 16, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants