diff options
Diffstat (limited to 'ui-commit.c')
-rw-r--r-- | ui-commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-commit.c b/ui-commit.c index 7d87c0a..ee5d2c7 100644 --- a/ui-commit.c +++ b/ui-commit.c | |||
@@ -121,11 +121,11 @@ void cgit_print_commit(char *hex, const char *prefix) | |||
121 | cgit_close_filter(ctx.repo->commit_filter); | 121 | cgit_close_filter(ctx.repo->commit_filter); |
122 | show_commit_decorations(commit); | 122 | show_commit_decorations(commit); |
123 | html("</div>"); | 123 | html("</div>"); |
124 | html("<div class='commit-msg'>"); | 124 | html("<pre class='commit-msg'>"); |
125 | cgit_open_filter(ctx.repo->commit_filter); | 125 | cgit_open_filter(ctx.repo->commit_filter); |
126 | html_txt(info->msg); | 126 | html_txt(info->msg); |
127 | cgit_close_filter(ctx.repo->commit_filter); | 127 | cgit_close_filter(ctx.repo->commit_filter); |
128 | html("</div>"); | 128 | html("</pre>"); |
129 | if (notes.len != 0) { | 129 | if (notes.len != 0) { |
130 | html("<div class='notes-header'>Notes</div>"); | 130 | html("<div class='notes-header'>Notes</div>"); |
131 | html("<div class='notes'>"); | 131 | html("<div class='notes'>"); |