Skip to content

fix(deps): update dependency mistletoe to v1.6.0 (main) - #20609

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/main-mistletoe-1.x
Jul 14, 2026
Merged

fix(deps): update dependency mistletoe to v1.6.0 (main)#20609
renovate[bot] merged 1 commit into
mainfrom
renovate/main-mistletoe-1.x

Conversation

@renovate

@renovate renovate Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
mistletoe ==1.5.1==1.6.0 age confidence

Release Notes

miyuchina/mistletoe (mistletoe)

v1.6.0

Compare Source

Fixed

  • Incorrect escaping of $ and other reserved chars in links (#​248).
  • Fix <http://example.com/@&#8203;user/1234> being rendered as <a href="mailto:...">...</a> (#​260).
  • HtmlRenderer: Escape characters in image src.
  • MarkdownRenderer: Fix type annotations (#​265, #​267).
  • JiraRenderer: Escape pipes in table cells (#​270).
  • MarkdownRenderer: Escape pipes in table cells (#​274).
  • MarkdownRenderer: Preserve line break before/after HTML span during word-wrap (#​275).
  • Avoid crash on overlapping emphasis delimiters (#​271). 🎉
  • GithubWiki: Reduce backtracking in wiki links (#​276).
  • Guard remove_token() against duplicate removal (#​281).
  • HtmlRenderer: Escape mailto autolink hrefs (#​283).

Changed

  • Bump supported Python versions (#​272)

Full Changelog: miyuchina/mistletoe@v1.5.1...v1.6.0


Special thanks to @​nijel as the most active contributor in this release!


Configuration

📅 Schedule: (UTC)

  • 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.


  • 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 added the dependencies PR: Third-party library dependencies. label Jul 11, 2026
@renovate
renovate Bot enabled auto-merge (squash) July 11, 2026 16:50
@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
9765 3 9762 754
View the top 3 failed test(s) by shortest run time
weblate.utils.tests.test_markdown.MarkdownTestCase::test_plain_link
Stack Traces | 0.003s run time
self = <weblate.utils.tests.test_markdown.MarkdownTestCase testMethod=test_plain_link>

    def test_plain_link(self) -> None:
>       self.assertEqual(
            '<p>This is <a rel="ugc" target="_blank" href="https://weblate.org">https://weblate.org</a></p>\n',
            render_markdown("This is https://weblate.org"),
        )
E       AssertionError: '<p>This is <a rel="ugc" target="_blank" href="https:[40 chars]p>\n' != '<p>This is https://weblate.org</p>'

.../utils/tests/test_markdown.py:145: AssertionError
weblate.utils.tests.test_markdown.MarkdownTestCase::test_plain_link_underscore
Stack Traces | 0.003s run time
self = <weblate.utils.tests.test_markdown.MarkdownTestCase testMethod=test_plain_link_underscore>

    def test_plain_link_underscore(self) -> None:
>       self.assertEqual(
            '<p><a rel="ugc" target="_blank" href="https://en.wikipedia.org/wiki/Celery_(software)">https://en.wikipedia.org/wiki/Celery_(software)</a></p>\n',
            render_markdown("https://en.wikipedia.org/wiki/Celery_(software)"),
        )
E       AssertionError: '<p><a rel="ugc" target="_blank" href="https:[96 chars]p>\n' != '<p>https://en.wikipedia.org/wiki/Celery_(software)</p>'

.../utils/tests/test_markdown.py:163: AssertionError
weblate.utils.tests.test_markdown.MarkdownTestCase::test_autolink
Stack Traces | 0.009s run time
self = <weblate.utils.tests.test_markdown.MarkdownTestCase testMethod=test_autolink>

    def test_autolink(self) -> None:
        self.assertEqual(
            '<p><a rel="ugc" target="_blank" href="http://valid.link">http://valid.link</a></p>\n',
            render_markdown("<http://valid.link>"),
        )
        self.assertEqual(
            '<p><a rel="ugc" target="_blank" href="https://valid.link">https://valid.link</a></p>\n',
            render_markdown("<https://valid.link>"),
        )
        self.assertEqual(
            "<p>&lt;invalid.link&gt;</p>\n", render_markdown("<invalid.link>")
        )
        self.assertEqual(
            "<p>&lt;ftp://invalid.link&gt;</p>\n",
            render_markdown("<ftp://invalid.link>"),
        )
        self.assertEqual(
            "<p>&lt;javascript:foo&gt;</p>\n", render_markdown("<javascript:foo>")
        )
        self.assertEqual(
            '<p><a rel="ugc" target="_blank" href="mailto:valid@email.com">valid@email.com</a></p>\n',
            render_markdown("<valid@email.com>"),
        )
        self.assertEqual(
            '<p><a rel="ugc" target="_blank" href="mailto:valid@email.com">mailto:valid@email.com</a></p>\n',
            render_markdown("<mailto:valid@email.com>"),
        )
        self.assertEqual(
            "<p>&lt;email@incomplete&gt;</p>\n", render_markdown("<email@incomplete>")
        )
        self.assertEqual(
            "<p>&lt;mailto:email@incomplete&gt;</p>\n",
            render_markdown("<mailto:email@incomplete>"),
        )
>       self.assertHTMLEqual(
            '<p><a rel="ugc" target="_blank" href="https://doomwiki.org/wiki/Chex_Quest_cheat_codes#:~:text=davidbrus">https://doomwiki.org/wiki/Chex_Quest_cheat_codes#:~:text=davidbrus</a></p>',
            render_markdown(
                "https://doomwiki.org/wiki/Chex_Quest_cheat_codes#:~:text=davidbrus"
            ),
        )
E       AssertionError: <p>
E       <a href="https://doomwiki.org/wiki/Chex_Quest_cheat_codes#:~:text=davidbrus" [truncated]... != <p>
E       https://doomwiki.org/wiki/Chex_Quest_cheat_codes#:~:text=davidbrus
E       </p>
E         <p>
E       - <a href="https://doomwiki.org/wiki/Chex_Quest_cheat_codes#:~:text=davidbrus" rel="ugc" target="_blank">
E         https://doomwiki.org/wiki/Chex_Quest_cheat_codes#:~:text=davidbrus
E       - </a>
E         </p>

.../utils/tests/test_markdown.py:106: AssertionError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@renovate
renovate Bot force-pushed the renovate/main-mistletoe-1.x branch 26 times, most recently from cd26a8a to 9d20d86 Compare July 14, 2026 08:31
@renovate
renovate Bot force-pushed the renovate/main-mistletoe-1.x branch from 9d20d86 to 161d12a Compare July 14, 2026 08:34
@renovate
renovate Bot merged commit 07cae59 into main Jul 14, 2026
39 checks passed
@renovate
renovate Bot deleted the renovate/main-mistletoe-1.x branch July 14, 2026 10:16
@nijel nijel modified the milestones: 2026.9, 2026.8 Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies PR: Third-party library dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant