aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-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)
}