From 3d88369d20fd39fa893f456b9aa9de31c3da38d7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 1 Jan 2019 11:44:51 +0000 Subject: Use
 for commit-msg

This preserves formatting readable for users of text-based browsers
without CSS support.
---
 ui-commit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'ui-commit.c')

diff --git a/ui-commit.c b/ui-commit.c
index 972e9bc..5536ffc 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -123,11 +123,11 @@ void cgit_print_commit(char *hex, const char *prefix)
 	cgit_close_filter(ctx.repo->commit_filter);
 	show_commit_decorations(commit);
 	html("");
-	html("
"); + html("
");
 	cgit_open_filter(ctx.repo->commit_filter);
 	html_txt(info->msg);
 	cgit_close_filter(ctx.repo->commit_filter);
-	html("
"); + html("
"); if (notes.len != 0) { html("
Notes
"); html("
"); -- cgit 1.5.1