Commit: ce901ceea247c02c6081df6f642110fa75caf6ed Parent: f60d6989d2d27538162e3c051f9a9d221dccac54 Author: Vi Grey Date: 2024-06-18 12:31 UTC Summary: Fix newlines in HTTP Error HTML content CHANGELOG.txt | 6 ++++++ src/augelmir.go | 2 +- src/http.go | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 42fdb0d..9200550 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.0.3] - 2024-06-18 + +### Fixed +- Newlines in HTTP Error HTML content + + ## [0.0.2] - 2024-06-18 ### Added diff --git a/src/augelmir.go b/src/augelmir.go index d47688b..51001df 100644 --- a/src/augelmir.go +++ b/src/augelmir.go @@ -6,7 +6,7 @@ import ( ) const ( - VERSION = "0.0.2" + VERSION = "0.0.3" ) func init() { diff --git a/src/http.go b/src/http.go index ba8381f..b97086c 100644 --- a/src/http.go +++ b/src/http.go @@ -153,8 +153,8 @@ func httpHandler(w http.ResponseWriter, r *http.Request) { func serveHTTPError(w http.ResponseWriter, r *http.Request, status int) { w.WriteHeader(status) io.WriteString(w, fmt.Sprintf("\n"+ - ""+ - " "+ + "\n"+ + " \n"+ " \n"+ " \n"+ " \n"+