mirror of
https://github.com/go-gitea/gitea
synced 2025-07-05 10:07:22 +00:00
nit fix (#19116)
This commit is contained in:
@ -348,8 +348,7 @@ func postProcess(ctx *RenderContext, procs []processor, input io.Reader, output
|
||||
|
||||
// Render everything to buf.
|
||||
for _, node := range newNodes {
|
||||
err = html.Render(output, node)
|
||||
if err != nil {
|
||||
if err := html.Render(output, node); err != nil {
|
||||
return &postProcessError{"error rendering processed HTML", err}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user