about summary refs log tree commit diff stats
path: root/ui-tag.c
diff options
context:
space:
mode:
authorEric Wong2019-01-01 11:44:51 +0000
committerJune McEnroe2022-02-13 11:53:56 -0500
commit2843093cb4f1ef9bc62f2ed2451a503c386c388a (patch)
tree5fa6487f20dd44ad0b4e9aa5df9df784b50a657a /ui-tag.c
parentImprove pageheader display on text-based browsers (diff)
downloadcgit-2843093cb4f1ef9bc62f2ed2451a503c386c388a.tar.gz
cgit-2843093cb4f1ef9bc62f2ed2451a503c386c388a.zip
Use <pre> for commit-msg
This preserves formatting readable for users of text-based browsers
without CSS support.
Diffstat (limited to 'ui-tag.c')
-rw-r--r--ui-tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-tag.c b/ui-tag.c index 846d5b1..c499516 100644 --- a/ui-tag.c +++ b/ui-tag.c
@@ -25,9 +25,9 @@ static void print_tag_content(char *buf)
25 html_txt(buf); 25 html_txt(buf);
26 html("</div>"); 26 html("</div>");
27 if (p) { 27 if (p) {
28 html("<div class='commit-msg'>"); 28 html("<pre class='commit-msg'>");
29 html_txt(++p); 29 html_txt(++p);
30 html("</div>"); 30 html("</pre>");
31 } 31 }
32} 32}
33 33