diff options
Diffstat (limited to 'modules/markup/html.go')
-rw-r--r-- | modules/markup/html.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/markup/html.go b/modules/markup/html.go index 758746ef87..87d05dcabb 100644 --- a/modules/markup/html.go +++ b/modules/markup/html.go @@ -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} } } |