# Update pulldown-cmark to v0.13.0 to fix crash \(\#46267\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/74c36083502684734c089437c40301f259f2844c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 74c36083502684734c089437c40301f259f2844c

Requested commit: 74c36083502684734c089437c40301f259f2844c

Commit: 74c36083502684734c089437c40301f259f2844c

Tree: ebdc3e47601237efa02e42d78e30779d01668bc1

Author: drbh

Committer: GitHub

## Message

````
Update pulldown-cmark to v0.13.0 to fix crash (#46267)

Hi Zed team thank you for the awesome editor!

I recently stumbled upon a markdown sequence that seems to cause a crash

```md
-	[	] -
\
-
```

*easier to read escape characters below

```rust
let crash_input = "-\t[\t] -\r\\\n-"
println!("{}", crash_input)
```

## how to reproduce

1. copy the markdown above
2. save the file
3. `[shift]` + `[cmd]` + `p` to open the command palette
4. select `markdown: open preview`
5. crash

I've confirmed that the issue is a bug in pulldown-cmark version 12, and
has been resolved in version
[v0.13.0](https://github.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.13.0)
and specifically fixed in
https://github.com/pulldown-cmark/pulldown-cmark/pull/1017

this PR simply bumps the pulldown-cmark version in zed which resolves
the crash on my local machine.


## recording 



https://github.com/user-attachments/assets/dc77132f-0d43-40f3-9841-0bf34fe714fb


Release Notes:

- Fixes crash due to markdown parsing via bumping pulldown-cmark
````

## Parents

- [42af91ddeedd7b41ad8b63b9eb01ea734ab2ff6f](https://git.cafe/gitcafe/zed/commit/42af91ddeedd7b41ad8b63b9eb01ea734ab2ff6f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/74c36083502684734c089437c40301f259f2844c?format=markdown)
