diff options
author | Eric Wong <e@80x24.org> | 2019-01-01 11:44:51 +0000 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-02-13 11:53:56 -0500 |
commit | 2843093cb4f1ef9bc62f2ed2451a503c386c388a (patch) | |
tree | 5fa6487f20dd44ad0b4e9aa5df9df784b50a657a /ui-tag.c | |
parent | Improve pageheader display on text-based browsers (diff) | |
download | cgit-pink-2843093cb4f1ef9bc62f2ed2451a503c386c388a.tar.gz cgit-pink-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.c | 4 |
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) html_txt(buf); html("</div>"); if (p) { - html("<div class='commit-msg'>"); + html("<pre class='commit-msg'>"); html_txt(++p); - html("</div>"); + html("</pre>"); } } |