# markdown_preview: Fix preview not rendering bullet points beginning with HTML \(\#27018\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4e33aaa55cb3d0f70f3e35a680d70b0b3b53f0a2

Requested commit: 4e33aaa55cb3d0f70f3e35a680d70b0b3b53f0a2

Commit: 4e33aaa55cb3d0f70f3e35a680d70b0b3b53f0a2

Tree: 17a5b8eb9f813a1d15cbfff26086b569ccaa3355

Author: Nils Koch

Committer: GitHub

## Message

```
markdown_preview: Fix preview not rendering bullet points beginning with HTML (#27018)

Closes #26631

Release Notes:

- Fixed markdown preview not rendering bullet points beginning with HTML

Before:
<img width="822" alt="before"
src="https://github.com/user-attachments/assets/102a7eac-fcc2-457b-9587-4a021800841d"
/>


After:
<img width="822" alt="after"
src="https://github.com/user-attachments/assets/8544b318-0efa-46c3-bd9b-c6c21444fab7"
/>

Note: I thought it would make sense to return `true` in `is_text_like`
for `Event::InlineMath` and `Event::DisplayMath` as well, but it looks
like rendering inline math is not supported at all at the moment:


https://github.com/zed-industries/zed/blob/4402e033a47db8ab6bf05623a9f111dc7b44cbd5/crates/markdown/src/parser.rs#L108
```

## Parents

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

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