dkforest

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

commit 5a50c627cc4e7851f643e095622ff3d4e3c045e7
parent 4b30a6591223e3f0b38de7714e0561933f6e0233
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 16 Nov 2022 02:58:43 -0500

simplify code

Diffstat:
Mcmd/art/main.go | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cmd/art/main.go b/cmd/art/main.go @@ -113,11 +113,10 @@ FoEVD2av5BES9MvnPsQulj9bU2lUokhBjM1+LERxbqfVfZ2ddAYRIMGF` if spanOpen { out += "</span>" } - out += fmt.Sprintf(`<span class="%s">%s`, class, string(char)) + out += fmt.Sprintf(`<span class="%s">`, class) spanOpen = true - } else { - out += string(char) } + out += string(char) } out += "\n" }