]> Sergey Matveev's repositories - public-inbox.git/commit
view: fix message truncation logic
authorEric Wong <e@80x24.org>
Sun, 6 Dec 2015 03:14:03 +0000 (03:14 +0000)
committerEric Wong <e@80x24.org>
Sun, 6 Dec 2015 03:14:03 +0000 (03:14 +0000)
commit1481168a6c76029e1d75d226c0be7bf68136f0e8
treee7f33b63d086e6f6bd85858ec5b712f8a6abfe84
parentc0805dfcd9a7b077c6ac4fa2cec31af60d50133e
view: fix message truncation logic

Avoid truncating messages if we requested the root anchor.
This regression appeared in
commit 62ee3cb36dd08f17e444e96dc80108464ee10cba
("view: do not shorten top-level messages in thread view")

Also, make the "More..." link more prominent, as readers
should be made aware they're not reading the full message.
lib/PublicInbox/View.pm