Render internal links to card.

This commit is contained in:
nyne
2025-05-23 19:30:46 +08:00
parent 0bc97b1db5
commit 8a7af82b6c
5 changed files with 159 additions and 96 deletions

View File

@@ -91,7 +91,7 @@ func parseResourceIfPresent(line string, host string) *model.ResourceView {
if err != nil {
return nil
}
if parsed.Hostname() != host {
if parsed.IsAbs() && parsed.Hostname() != host {
return nil
}
path := parsed.Path