Skip to content

[Backport v23-branch] Upgrade erusev/parsedown from 1.7.4 to 1.8.0#707

Merged
mikelittle merged 1 commit intov23-branchfrom
backport-704-to-v23-branch
Mar 2, 2026
Merged

[Backport v23-branch] Upgrade erusev/parsedown from 1.7.4 to 1.8.0#707
mikelittle merged 1 commit intov23-branchfrom
backport-704-to-v23-branch

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Mar 2, 2026

Description

Backport of #704 to v23-branch.

Update the parsedown dependency to the latest stable release (1.8.0)
which includes security fixes and improved CommonMark compliance.

Update MarkdownParser::blockHeader() to use the 1.8.0 element structure
where handler is now an array with function/argument/destination keys,
and child elements use the 'elements' key directly. This also fixes a
pre-existing bug where header anchor IDs were empty because
sanitize_title_with_dashes() was processing raw Parsedown inline tokens
instead of plain text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
(cherry picked from commit f698bcb)
@mikelittle mikelittle merged commit 6bbef94 into v23-branch Mar 2, 2026
1 of 2 checks passed
@mikelittle mikelittle deleted the backport-704-to-v23-branch branch March 2, 2026 11:26
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.

1 participant