Merge pull request #894 from nipunrajk/fix/markdown-task-list-links

fix(markdown): prevent task lists with links from corrupting DOM
This commit is contained in:
Alam authored and GitHub committed 2026-10-21 12:00:48 +05:30
commit 02113e2579
2 files changed
+66 -1

No files matched your search

+1 -1
View File
@@ -674,7 +674,7 @@ export class MarkdownEditor {
.use(emoji) // Emoji: :smile: -> 😄
.use(ins) // Inserted text: ++text++ -> <ins>text</ins>
.use(mark) // Marked text: ==text== -> <mark>text</mark>
.use(taskLists, { enabled: true, label: true, labelAfter: true }) // Task lists: - [x] done
.use(taskLists, { enabled: true, label: false }) // Task lists: - [x] done
.use(anchor, { permalink: false }) // Header anchors
.use(tocDoneRight); // Table of contents: ${toc}
}