]> Sergey Matveev's repositories - public-inbox.git/commit
view: strip omission character from current message in thread view
authorKyle Meyer <kyle@kyleam.com>
Wed, 22 Apr 2020 01:33:58 +0000 (21:33 -0400)
committerEric Wong <e@yhbt.net>
Wed, 22 Apr 2020 07:02:27 +0000 (07:02 +0000)
commite3124855ded54f9d9703bd7b72a584edb4422fbe
tree1184f84143ea6324506d048186a4b3830513db41
parent4bebfa0c80ad7f4596a7dca98b39121470a42af0
view: strip omission character from current message in thread view

In the thread view shown at the top of a message, the subject for the
current message is dropped, leaving just the sender's name.  However,
if skel_dump() omitted part of the subject because it was duplicated,
the omission character is still displayed:

  * [PATCH v2] t/www_listing: avoid 'once' warnings
    2020-03-21  1:10 ` [PATCH 2/2] t/www_listing: avoid 'once' warnings Eric Wong
  @ 2020-03-21  5:24   ` " Eric Wong

Note the " on the last line.

Adjust the regular expression in _th_index_lite() to account for the
omission character.

[ew: avoid capturing $1, keep under 80 cols]
lib/PublicInbox/View.pm