diff options
author | Eric Wong <e@80x24.org> | 2016-07-07 02:32:23 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-07 02:32:23 +0000 |
commit | 25a450051f1761d19ba46f1625c4c5aa030c607b (patch) | |
tree | 83afe4230e2b170b20ce13d5f79a73684d9ddf73 /lib/PublicInbox/View.pm | |
parent | df58427650d5cd035cccaabe4fc7cf9b083ecc9f (diff) | |
download | public-inbox-25a450051f1761d19ba46f1625c4c5aa030c607b.tar.gz |
It should be harmless if the "[this message]" text goes past the boundary as we bold the entire line to make it stand out.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r-- | lib/PublicInbox/View.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 7be72cfc..f47ecba0 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -735,16 +735,13 @@ sub _skel_header { if ($attr ne $ctx->{prev_attr} || $ctx->{prev_level} > $level) { $ctx->{prev_attr} = $attr; - } else { - $attr = ''; } $ctx->{prev_level} = $level; if ($cur) { if ($cur eq $mid) { delete $ctx->{cur}; - $$dst .= $d; - $$dst .= "<b><a\nid=r\nhref=\"#t\">". + $$dst .= "<b>$d<a\nid=r\nhref=\"#t\">". "$attr [this message]</a></b>\n"; return; } |