summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/tests/t0105-commit.sh
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-01 11:44:51 +0000
committerJune McEnroe <june@causal.agency>2021-01-17 19:07:04 +0000
commit5ff292f522caf261e548d93419980f16d037d037 (patch)
tree7725f2016c067af0ba78975e0405eb7415671274 /www/git.causal.agency/cgit/tests/t0105-commit.sh
parentImprove pageheader display on text-based browsers (diff)
downloadsrc-5ff292f522caf261e548d93419980f16d037d037.tar.gz
src-5ff292f522caf261e548d93419980f16d037d037.zip
Use <pre> for commit-msg
This preserves formatting readable for users of text-based browsers
without CSS support.
Diffstat (limited to '')
-rwxr-xr-xwww/git.causal.agency/cgit/tests/t0105-commit.sh2
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' '