fix golint errors

This commit is contained in:
2026-02-12 18:00:32 +03:00
parent a058b622e3
commit ccabeee1f1
10 changed files with 74 additions and 28 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func formatMemory(mem *search.Memory, publicURL string) (mainText, captionText s
// Link to original
memoURL := fmt.Sprintf("%s/%s", publicURL, mem.Memo.Name)
b.WriteString(fmt.Sprintf("\n\n<a href=\"%s\">Оригинал</a>", memoURL))
b.WriteString("\n\n<a href=\"" + memoURL + "\">Оригинал</a>")
full := b.String()
mainText = truncateHTML(full, maxMessageLen)