# markdown: Fix visible escape characters in LSP diagnostics \(\#51766\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 843615c35e4bc0d226eae951712f85ca63147eb0

Requested commit: 843615c35e4bc0d226eae951712f85ca63147eb0

Commit: 843615c35e4bc0d226eae951712f85ca63147eb0

Tree: 78c85b99b224987e03182fd881c29a9727de75d5

Author: João Soares

Committer: GitHub

## Message

```
markdown: Fix visible escape characters in LSP diagnostics (#51766)

Closes #51622

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed markdown escape characters being visible in LSP diagnostic
messages when leading whitespace caused indented code blocks

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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