# html: Fix leading slash on Windows paths \(\#28542\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8ee6a2b4547d7c3f4dcb59526dc2c50c73a37f20

Requested commit: 8ee6a2b4547d7c3f4dcb59526dc2c50c73a37f20

Commit: 8ee6a2b4547d7c3f4dcb59526dc2c50c73a37f20

Tree: 633d932d738490a318a34b38357eb75d0805f80f

Author: vipex

Committer: GitHub

## Message

```
html: Fix leading slash on Windows paths (#28542)

This PR builds on the fix proposed in
[zed-extensions/astro#5](https://github.com/zed-extensions/astro/pull/5)
and serves as a workaround for certain LSPs affected by
[zed-industries/zed#20559](https://github.com/zed-industries/zed/issues/20559)—specifically,
the HTML language server in this case.

Credit to @maxdeviant for identifying and implementing the original fix.
This PR extends that solution to other areas where it may be beneficial.

Release Notes:

- N/A
```

## Parents

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

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