Skip to content

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

Merged
MrSubidubi merged 3 commits into
zed-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 into
zed-industries:mainfrom
drbh:bump-pulldown-cmark

Conversation

@drbh

@drbh drbh commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

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

cla-bot Bot commented Jan 7, 2026

Copy link
Copy Markdown

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

drbh commented Jan 7, 2026

Copy link
Copy Markdown
Contributor Author

@cla-bot check

@cla-bot

cla-bot Bot commented Jan 7, 2026

Copy link
Copy Markdown

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

cla-bot Bot commented Jan 7, 2026

Copy link
Copy Markdown

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

@drbh

drbh commented Jan 7, 2026

Copy link
Copy Markdown
Contributor Author

@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

cla-bot Bot commented Jan 7, 2026

Copy link
Copy Markdown

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

drbh commented Jan 7, 2026

Copy link
Copy Markdown
Contributor Author

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

@MrSubidubi MrSubidubi left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 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
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 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
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