dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit fbed8c67736ab7b1c34d421a3e98757cc27c8c76
parent d6fa7637836a8927681ea218455006b0508eb06f
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 29 May 2023 06:21:50 -0700

add title

Diffstat:
Mpkg/database/tableChatMessages.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/database/tableChatMessages.go b/pkg/database/tableChatMessages.go @@ -598,7 +598,7 @@ func (d *DkfDB) CreateOrEditMessage( rgx := regexp.MustCompile(`</pre>`) editMsg.Message = rgx.ReplaceAllStringFunc(editMsg.Message, func(s string) string { i++ - return `</pre><a href="/chat-code/` + editMsg.UUID + `/` + strconv.Itoa(i-1) + `" rel="noopener noreferrer" target="_blank" style="position: absolute; margin-top: -20px; right: 0;">&#8689;</a>` + return `</pre><a href="/chat-code/` + editMsg.UUID + `/` + strconv.Itoa(i-1) + `" title="Open in fullscreen" rel="noopener noreferrer" target="_blank" style="position: absolute; margin-top: -20px; right: 0;">&#8689;</a>` }) if i > 0 { editMsg.DoSave(d)