diff --git a/source/test.md b/source/test.md index 3dc1590..99c33c2 100644 --- a/source/test.md +++ b/source/test.md @@ -22,8 +22,6 @@ mydata: 123 - [ ] Todo - [ ] Won't fix -[[x] Task inside link](https://dc09.ru) - > [!WARNING] > > Some important quote diff --git a/src/markdown.rs b/src/markdown.rs index 0ea80de..00d85e4 100644 --- a/src/markdown.rs +++ b/src/markdown.rs @@ -298,10 +298,10 @@ pub fn compile_markdown( TaskListMarker(done) => { if done { html.write_all(b"")?; - write_inline(&mut gmi, state, "[x] ", &mut links)?; + gmi.write_all(b"[x] ")?; } else { html.write_all(b"")?; - write_inline(&mut gmi, state, "[ ] ", &mut links)?; + gmi.write_all(b"[ ] ")?; } }