commit bde60f1afbcf05c21aaf5fe712ebb2608d06aa99 parent ecbf16605ce557137beadbb55bff885ee4700a0c Author: n0tr1v <n0tr1v@protonmail.com> Date: Mon, 29 May 2023 06:41:44 -0700 test new icon Diffstat:
| M | pkg/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) + `" title="Open in fullscreen" rel="noopener noreferrer" target="_blank" style="position: absolute; margin-top: -19px; right: 3px;">⇱</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: -19px; right: 3px;">⛶</a>` }) if i > 0 { editMsg.DoSave(d)