Commit 6cc2265
Upgrade erusev/parsedown from 1.7.4 to 1.8.0
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)1 parent d2ebc7e commit 6cc2265
2 files changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
180 | 185 | | |
181 | 186 | | |
182 | | - | |
| 187 | + | |
183 | 188 | | |
184 | | - | |
| 189 | + | |
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
| |||
192 | 197 | | |
193 | 198 | | |
194 | 199 | | |
195 | | - | |
196 | | - | |
| 200 | + | |
197 | 201 | | |
198 | 202 | | |
199 | 203 | | |
| |||
0 commit comments