diff options
author | Eric Wong <e@80x24.org> | 2019-01-01 11:44:51 +0000 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-17 19:07:04 +0000 |
commit | de881cadccb97b2de9c4557f5f78411559fe747c (patch) | |
tree | 27f5a76b601f577f9f15fddbbf8c93b0d552ebd2 /www/git.causal.agency/cgit/tests | |
parent | Improve pageheader display on text-based browsers (diff) | |
download | src-de881cadccb97b2de9c4557f5f78411559fe747c.tar.gz src-de881cadccb97b2de9c4557f5f78411559fe747c.zip |
Use <pre> for commit-msg
This preserves formatting readable for users of text-based browsers without CSS support.
Diffstat (limited to '')
-rwxr-xr-x | www/git.causal.agency/cgit/tests/t0105-commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/git.causal.agency/cgit/tests/t0105-commit.sh b/www/git.causal.agency/cgit/tests/t0105-commit.sh index 9cdf55c0..9e34abd2 100755 --- a/www/git.causal.agency/cgit/tests/t0105-commit.sh +++ b/www/git.causal.agency/cgit/tests/t0105-commit.sh @@ -11,7 +11,7 @@ test_expect_success 'find commit subject' ' grep "<div class=.commit-subject.>commit 5<" tmp ' -test_expect_success 'find commit msg' 'grep "<div class=.commit-msg.></div>" tmp' +test_expect_success 'find commit msg' 'grep "<pre class=.commit-msg.></pre>" tmp' test_expect_success 'find diffstat' 'grep "<table summary=.diffstat. class=.diffstat.>" tmp' test_expect_success 'find diff summary' ' |