forked from tangled.org/core
Something went wrong. Try again.
appview: pages/markup: resolve link destinations against the current dir master
Fixes a bug reported on Discord with relative links inside a repository's subdir would resolve incorrectly since we were naively "absoluting" the link destination. Now, we resolve it against the current (parent) directory. For example, if lol/x.md has a link [foo](./some.png) => /lol/some.png (instead of just /some.png)
Author Anirudh Oppiliappan Committer Tangled Date (May 15, 2025, 11:14 AM UTC) Commit cd60c898 cd60c89811906756e0bde3d0027d20e662a5e9d9 Parent 3f274571 3f274571739946da8912330eb869ba2deab8a617