From e0c305541703433f878b8dc7f4b30802e03a2a9d Mon Sep 17 00:00:00 2001 From: Maxence Charriere Date: Wed, 2 Oct 2024 20:42:10 +0800 Subject: [PATCH] Update engine.go --- pkg/app/engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/app/engine.go b/pkg/app/engine.go index a6b461cc..2e89765e 100644 --- a/pkg/app/engine.go +++ b/pkg/app/engine.go @@ -340,7 +340,7 @@ func (e *engineX) Encode(w *bytes.Buffer, document HTMLHtml) error { children = append(children, body.body()...) body.setBody(children) - w.WriteString("\n") + w.WriteString("\n") e.nodes.Encode(e.baseContext(), w, document) return nil }