diff options
author | FChannel <> | 2021-10-04 20:10:11 -0700 |
---|---|---|
committer | FChannel <> | 2021-10-04 20:10:11 -0700 |
commit | 36c63daa85818488055edf8ae63af58058e4efb2 (patch) | |
tree | 9827b3cfda95bf34e932b4a1604f4a17547bf55b | |
parent | 4e26c41df1c90ec5fe4a782d74a81f937b1015f2 (diff) |
fix for aref link slash to correct path
-rw-r--r-- | client.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ func OutboxGet(w http.ResponseWriter, r *http.Request, db *sql.DB, collection Co "parseReplyLink": func(actorId string, op string, id string, content string) template.HTML { actor := FingerActor(actorId) title := strings.ReplaceAll(ParseLinkTitle(actor.Id, op, content), `/\<`, ">") - link := "<a href=\"" + actor.Name + "/" + shortURL(actor.Outbox, op) + "#" + shortURL(actor.Outbox, id) + "\" title=\"" + title + "\" class=\"replyLink\">>>" + shortURL(actor.Outbox, id) + "</a>" + link := "<a href=\"/" + actor.Name + "/" + shortURL(actor.Outbox, op) + "#" + shortURL(actor.Outbox, id) + "\" title=\"" + title + "\" class=\"replyLink\">>>" + shortURL(actor.Outbox, id) + "</a>" return template.HTML(link) }, "add": func(i, j int) int { |