mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Render internal links to card.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user