diff options
author | Eric Wong <e@80x24.org> | 2019-10-24 00:12:37 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-10-28 10:49:08 +0000 |
commit | d2786235a289a0286d96a9b853b7a0a30a6f6b5a (patch) | |
tree | 67cb435dca40edf8ba7e7d24ef28c92a5cb70314 /t | |
parent | 2394cb0bdc671605729b5a4c578ef4cd3b9813fd (diff) | |
download | public-inbox-d2786235a289a0286d96a9b853b7a0a30a6f6b5a.tar.gz |
view: move '<' and '>' outside <a>
Browsers may underline '<' and '>' in links, which may be confused with '≤' and '≥'. So have the Message-ID header display follow what we do with In-Reply-To headers and move the "<" and ">" outside of <a> in the HTML.
Diffstat (limited to 't')
-rw-r--r-- | t/psgi_v2.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/psgi_v2.t b/t/psgi_v2.t index cb5ece63..c7550e2d 100644 --- a/t/psgi_v2.t +++ b/t/psgi_v2.t @@ -168,7 +168,7 @@ test_psgi(sub { $www->call(@_) }, sub { @from_ = ($raw =~ m/>From: /mg); is(scalar(@from_), 3, 'three From: lines'); foreach my $mid ('a-mid@b', $new_mid, $third) { - like($raw, qr/<\Q$mid\E>/s, "Message-ID $mid shown"); + like($raw, qr!>\Q$mid\E</a>!s, "Message-ID $mid shown"); } like($raw, qr/\b3\+ messages\b/, 'thread overview shown'); |