Add missing doctype
Alan Pearce alan@alanpearce.eu
Thu, 18 Apr 2024 09:51:19 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M cmd/build/build.go → cmd/build/build.go
@@ -155,6 +155,7 @@ func renderHTML(doc *goquery.Document) io.Reader { r, w := io.Pipe() go func() { + w.Write([]byte("<!doctype html>\n")) goquery.Render(w, doc.Children()) defer w.Close() }()