aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFChannel <=>2021-01-13 20:45:45 -0800
committerFChannel <=>2021-01-13 20:45:45 -0800
commitf07df9e7182f4487bd38d6be71074872815d947b (patch)
treedcab1578208d7e4635864dfc2862478e286e7b8e
parent09d041e10215adc0a804cf8197133752c75aeebf (diff)
quote bug
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9e3440a..3f83bca 100644
--- a/main.go
+++ b/main.go
@@ -555,7 +555,8 @@ func ParseCommentForReplies(comment string) []ObjectBase {
str := strings.Replace(match[i][0], ">>", "", 1)
str = strings.Replace(str, "www.", "", 1)
str = strings.Replace(str, "http://", "", 1)
- str = TP + "://" + str
+ str = strings.Replace(str, "https://", "", 1)
+ str = TP + "" + str
links = append(links, str)
}