From mboxrd@z Thu Jan 1 00:00:00 1970 From: aklhfex at gmail.com (Chris Mayo) Date: Mon, 18 Feb 2019 20:46:44 +0000 Subject: [PATCH 5/5] ui-shared: add encoding declaration In-Reply-To: <20190218204644.440-1-aklhfex@gmail.com> References: <20190218204644.440-1-aklhfex@gmail.com> Message-ID: <20190218204644.440-6-aklhfex@gmail.com> Not required but strongly recommended. Signed-off-by: Chris Mayo --- ui-shared.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-shared.c b/ui-shared.c index d27a5fd..4fb6d8a 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -783,6 +783,7 @@ void cgit_print_docstart(void) html(""); html_txt(ctx.page.title); html("\n"); + htmlf("\n", PAGE_ENCODING); htmlf("\n", cgit_version); if (ctx.cfg.robots && *ctx.cfg.robots) htmlf("\n", ctx.cfg.robots); -- 2.20.1