From 0ef59b4f3cdddea55e38e4c3a2bdad721298eb4b Mon Sep 17 00:00:00 2001
From: FChannel <>
Date: Sat, 9 Oct 2021 13:57:42 -0700
Subject: added slash for correct href routing
---
client.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client.go b/client.go
index f4b74de..e306b10 100644
--- a/client.go
+++ b/client.go
@@ -491,7 +491,7 @@ func PostGet(w http.ResponseWriter, r *http.Request, db *sql.DB) {
"parseReplyLink": func(actorId string, op string, id string, content string) template.HTML {
actor := FingerActor(actorId)
title := strings.ReplaceAll(ParseLinkTitle(actor.Id, op, content), `/\<`, ">")
- link := ">>" + shortURL(actor.Outbox, id) + ""
+ link := ">>" + shortURL(actor.Outbox, id) + ""
return template.HTML(link)
},
"timeToReadableLong": timeToReadableLong,
--
cgit v1.2.3