aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.com>2024-06-24 09:26:42 -0400
committerGitHub <noreply@github.com>2024-06-24 13:26:42 +0000
commita4899ffa24dfc905b05df5796ea304bd763c469c (patch)
treed6edffe6be1680c275d2b18a86f87c88434a98b7 /modules
parent0c4ff0110912b0b99ee78911645b9f880e289ad9 (diff)
downloadgitea-a4899ffa24dfc905b05df5796ea304bd763c469c.tar.gz
gitea-a4899ffa24dfc905b05df5796ea304bd763c469c.zip
bump golang deps (#31422)
Diffstat (limited to 'modules')
-rw-r--r--modules/markup/console/console.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/markup/console/console.go b/modules/markup/console/console.go
index cf42c9cceb..01653565fe 100644
--- a/modules/markup/console/console.go
+++ b/modules/markup/console/console.go
@@ -62,7 +62,7 @@ func (Renderer) Render(ctx *markup.RenderContext, input io.Reader, output io.Wri
if err != nil {
return err
}
- buf = trend.Render(buf)
+ buf = []byte(trend.Render(buf))
buf = bytes.ReplaceAll(buf, []byte("\n"), []byte(`<br>`))
_, err = output.Write(buf)
return err