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
8ee6a2b454vipex committed on 4/10/2025, 10:34:22 PM· committed by GitHubparentcf65d94
1 file changedLine totals unavailable