Files
deepseek-harness/packages/client/ui-primitives/src/markdown
Turtle 2099andTurtle c262a09fd0 fix(ui-primitives): keep backslashes in Windows-path Markdown links- #7098
* fix(ui-primitives): keep backslashes in Windows-path Markdown destinations

CommonMark reads \. in a link destination as an escaped dot, so
[x](D:\repo\.github\a.md) opened D:\repo.github\a.md. Destinations
that look like Windows paths now keep their authored text.

Fixes #7095

* fix(ui-primitives): cover relative paths and character references

Treat a backslash destination without a URL scheme as a Windows path
when it has no slash or a backslash before a letter or digit, keep
every backslash literal there, and still decode character references.
Pin the behavior in the Markdown file-links Web snapshot.

* chore: list micromark-util-decode-string in third-party notices

---------

Co-authored-by: Turtle <[email protected]>
2026-10-23 23:40:50 +08:00
..