dkforest

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

commit 78a13c46236703a8621df92d3fea0355c8370b4a
parent 5536c633de8c06224305c70174a6552007ca22d8
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 28 Jun 2023 11:40:22 -0700

add doc

Diffstat:
Mpkg/database/utils/processMessage.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/database/utils/processMessage.go b/pkg/database/utils/processMessage.go @@ -243,9 +243,9 @@ func convertNewLines(html string, canUseMultiline, manualML bool) string { } else if manualML { html = manualMultilineRgx.ReplaceAllStringFunc(html, func(s string) string { if s == `\\n` { - return "\\n" + return `\n` // "\" and "n" characters } - return "\n" + return "\n" // new line character }) } return html