From ad54a9450ba3aa621b9d023e2724fff7550ddedc Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 4 Jul 2021 00:30:11 -0500 Subject: [PATCH] fix parent tg formatting --- backend/app/notify/telegram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/notify/telegram.go b/backend/app/notify/telegram.go index 6da587db..8f09a688 100644 --- a/backend/app/notify/telegram.go +++ b/backend/app/notify/telegram.go @@ -190,7 +190,7 @@ func buildTelegramMessage(req Request) ([]byte, error) { msg += fmt.Sprintf("\n\n%s", escapeText(req.Comment.Orig)) if req.Comment.ParentID != "" { - msg += fmt.Sprintf("\n\n\"> _%s_\"", escapeText(req.parent.Orig)) + msg += fmt.Sprintf("\n\n> \"_%s_\"", escapeText(req.parent.Orig)) } if req.Comment.PostTitle != "" {