diff options
author | techknowlogick <techknowlogick@gitea.com> | 2024-06-24 09:26:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 13:26:42 +0000 |
commit | a4899ffa24dfc905b05df5796ea304bd763c469c (patch) | |
tree | d6edffe6be1680c275d2b18a86f87c88434a98b7 /modules | |
parent | 0c4ff0110912b0b99ee78911645b9f880e289ad9 (diff) | |
download | gitea-a4899ffa24dfc905b05df5796ea304bd763c469c.tar.gz gitea-a4899ffa24dfc905b05df5796ea304bd763c469c.zip |
bump golang deps (#31422)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/markup/console/console.go | 2 |
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 |