# URL-encode the image paths in Markdown so that images with filenames \(\#41788\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 146e754f7396f62b7030f6d4424364b668704005

Requested commit: 146e754f7396f62b7030f6d4424364b668704005

Commit: 146e754f7396f62b7030f6d4424364b668704005

Tree: 11e97bd50ec6a070969a5e52b5221c2a6e26af49

Author: aohanhongzhi

Committer: GitHub

## Message

```
URL-encode the image paths in Markdown so that images with filenames (#41788)

Closes https://github.com/zed-industries/zed/issues/41786

Release Notes:

- markdown preview: Fixed an issue where path urls would not be parsed
correctly when containing URL-encoded characters

<img width="1680" height="1126"
alt="569415cb-b3e8-4ad6-b31c-a1898ec32085"
src="https://github.com/user-attachments/assets/7de8a892-ff01-4e00-a28c-1c5e9206ce3a"
/>
```

## Parents

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

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