diff options
author | Eric Wong <e@80x24.org> | 2019-01-01 09:25:01 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-04-22 02:34:37 +0000 |
commit | 20a33d1b5e97093d923ea73b953a732f1ac9bae0 (patch) | |
tree | 8067c80d29d077c33e28341bbc1def0e97d61f36 /ui-tag.c | |
parent | d501a989f82462879e953a537d57d35bc3fff570 (diff) | |
download | cgit-20a33d1b5e97093d923ea73b953a732f1ac9bae0.tar.gz |
ui-{commit,tag}: 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
@@ -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>"); } } |