Skip to content

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

Merged
MrSubidubi merged 3 commits intozed-industries:mainfrom
drbh:bump-pulldown-cmark
Jan 8, 2026
Merged

Update pulldown-cmark to v0.13.0 to fix crash#46267
MrSubidubi merged 3 commits intozed-industries:mainfrom
drbh:bump-pulldown-cmark

Conversation

@drbh
Copy link
Contributor

@drbh drbh commented Jan 7, 2026

Hi Zed team thank you for the awesome editor!

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

-	[	] -
\
-

*easier to read escape characters below

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 and specifically fixed in pulldown-cmark/pulldown-cmark#1017

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

recording

zedcrash.mp4

Release Notes:

  • Fixed a crash that could occur when using the Markdown preview

@cla-bot
Copy link

cla-bot bot commented Jan 7, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @drbh on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@drbh
Copy link
Contributor Author

drbh commented Jan 7, 2026

@cla-bot check

@cla-bot
Copy link

cla-bot bot commented Jan 7, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @drbh on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@cla-bot
Copy link

cla-bot bot commented Jan 7, 2026

The cla-bot has been summoned, and re-checked this pull request!

@drbh
Copy link
Contributor Author

drbh commented Jan 7, 2026

@cla-bot check

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 7, 2026
@cla-bot
Copy link

cla-bot bot commented Jan 7, 2026

The cla-bot has been summoned, and re-checked this pull request!

@MrSubidubi MrSubidubi changed the title fix: bump pulldown-cmark Update pulldown-cmark to v0.13.0 Jan 7, 2026
@drbh drbh changed the title Update pulldown-cmark to v0.13.0 fix: markdown sequence causes crash - update pulldown-cmark to v0.13.0 Jan 7, 2026
@drbh drbh changed the title fix: markdown sequence causes crash - update pulldown-cmark to v0.13.0 fix: bump pulldown-cmark Jan 7, 2026
@MrSubidubi MrSubidubi changed the title fix: bump pulldown-cmark Update pulldown-cmark to v0.13.0 to fix crash Jan 7, 2026
@drbh
Copy link
Contributor Author

drbh commented Jan 7, 2026

whoops apologies for the pr renaming I didn't see that you updated it @MrSubidubi! Thanks for the quick look

@MrSubidubi MrSubidubi self-assigned this Jan 8, 2026
Copy link
Member

@MrSubidubi MrSubidubi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you very much for looking into this and the detailed context! Much appreciated.

@MrSubidubi MrSubidubi merged commit 74c3608 into zed-industries:main Jan 8, 2026
23 checks passed
@MrSubidubi

This comment was marked as outdated.

1 similar comment
@MrSubidubi
Copy link
Member

/cherry-pick preview

github-actions bot pushed a commit that referenced this pull request Jan 8, 2026
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
pulldown-cmark/pulldown-cmark#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
@MrSubidubi
Copy link
Member

/cherry-pick stable

github-actions bot pushed a commit that referenced this pull request Jan 8, 2026
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
pulldown-cmark/pulldown-cmark#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
zed-zippy bot added a commit that referenced this pull request Jan 8, 2026
…o stable) (#46310)

Cherry-pick of #46267 to stable

----
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
pulldown-cmark/pulldown-cmark#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

Co-authored-by: drbh <david.richard.holtz@gmail.com>
zed-zippy bot added a commit that referenced this pull request Jan 8, 2026
…o preview) (#46309)

Cherry-pick of #46267 to preview

----
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
pulldown-cmark/pulldown-cmark#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

Co-authored-by: drbh <david.richard.holtz@gmail.com>
rtfeldman pushed a commit that referenced this pull request Jan 9, 2026
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
pulldown-cmark/pulldown-cmark#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
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
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
pulldown-cmark/pulldown-cmark#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
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
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
pulldown-cmark/pulldown-cmark#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
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Feb 15, 2026
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
pulldown-cmark/pulldown-cmark#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants