forked from tangled.org/core

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)


+87 -17
5 changed files