]> Sergey Matveev's repositories - public-inbox.git/commit
msg_iter: split_quotes adds trailing "\n"
authorEric Wong <e@80x24.org>
Wed, 6 Oct 2021 11:19:36 +0000 (11:19 +0000)
committerEric Wong <e@80x24.org>
Wed, 6 Oct 2021 11:24:35 +0000 (11:24 +0000)
commita80fd0c8e19464f95dec5a5c2d128a1614f51ee5
tree51195ef50ba851a56db0969a47d558e437a94d1a
parente785573c556572a675407796604e9c0a9965ea9f
msg_iter: split_quotes adds trailing "\n"

The regexp in split_quotes relies on the presence of a
final "\n", so add it wherever we need to instead of
making it the responsibility of every caller.

This probably doesn't matter in practice since every
email seems to have a "\n" as the final byte (due to
the way SMTP works), but maybe there's some odd ones
that'll get imported via lei.
lib/PublicInbox/LeiViewText.pm
lib/PublicInbox/MsgIter.pm
lib/PublicInbox/View.pm