# Fix panic when copying smart quotes in MarkdownElement \(\#29285\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 09db31288a16d05a465545fa50be5d0f88a5959f

Requested commit: 09db31288a16d05a465545fa50be5d0f88a5959f

Commit: 09db31288a16d05a465545fa50be5d0f88a5959f

Tree: cb8ba9f5444b5def415b4601f74c49a0560c6407

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fix panic when copying smart quotes in MarkdownElement (#29285)

Release Notes:

- Fixed a panic that could sometimes happen when copying text in the
agent.
```

## Parents

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

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