loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'Update module github.com/buildkite/terminal-to-html/v3 to v3.16.0 (forgejo)' (#5239) from renovate/forgejo-github.com-buildkite-terminal-to-html-v3-3.x into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5239
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>

Gusted 0a86d1e8 c67d3a4d

+8 -5
+1 -1
go.mod
··· 23 23 github.com/alecthomas/chroma/v2 v2.14.0 24 24 github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb 25 25 github.com/blevesearch/bleve/v2 v2.4.2 26 - github.com/buildkite/terminal-to-html/v3 v3.15.0 26 + github.com/buildkite/terminal-to-html/v3 v3.16.0 27 27 github.com/caddyserver/certmagic v0.21.0 28 28 github.com/chi-middleware/proxy v1.1.1 29 29 github.com/djherbis/buffer v1.2.0
+2 -2
go.sum
··· 141 141 github.com/bsm/ginkgo/v2 v2.12.0/go.mod h1:SwYbGRRDovPVboqFv0tPTcG1sN61LM1Z4ARdbAV9g4c= 142 142 github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA= 143 143 github.com/bsm/gomega v1.27.10/go.mod h1:JyEr/xRbxbtgWNi8tIEVPUYZ5Dzef52k01W3YH0H+O0= 144 - github.com/buildkite/terminal-to-html/v3 v3.15.0 h1:wYZmEsdqYB7g2cSJGbue3Q+vZzcRhty/9fzLxcd+C/8= 145 - github.com/buildkite/terminal-to-html/v3 v3.15.0/go.mod h1:gBOS1jmZ+/ze1lpunGDIZpjCk3MkYZ4E80Y7/26Um0c= 144 + github.com/buildkite/terminal-to-html/v3 v3.16.0 h1:BbAgSK3tLEVocul3QLWn5pazyMzWilEeSmnq2LGcFAM= 145 + github.com/buildkite/terminal-to-html/v3 v3.16.0/go.mod h1:gBOS1jmZ+/ze1lpunGDIZpjCk3MkYZ4E80Y7/26Um0c= 146 146 github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= 147 147 github.com/caddyserver/certmagic v0.21.0 h1:yDoifClc4hIxhHer3AxUj4buhF+NzRR6torw/AOnuUE= 148 148 github.com/caddyserver/certmagic v0.21.0/go.mod h1:OgUZNXYV/ylYoFJNmoYVR5nntydLNMQISePPgqZTyhc=
+5 -2
modules/markup/console/console.go
··· 58 58 59 59 // Render renders terminal colors to HTML with all specific handling stuff. 60 60 func (Renderer) Render(ctx *markup.RenderContext, input io.Reader, output io.Writer) error { 61 - screen := &trend.Screen{} 61 + screen, err := trend.NewScreen() 62 + if err != nil { 63 + return err 64 + } 62 65 if _, err := io.Copy(screen, input); err != nil { 63 66 return err 64 67 } 65 68 buf := screen.AsHTML() 66 69 buf = strings.ReplaceAll(buf, "\n", `<br>`) 67 - _, err := output.Write([]byte(buf)) 70 + _, err = output.Write([]byte(buf)) 68 71 return err 69 72 } 70 73