From: Ian Jackson Date: Wed, 5 Sep 2018 13:27:12 +0000 (+0100) Subject: unfolding: do not introduce additional lwsp X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~webstump/git?p=modbot-urcm.git;a=commitdiff_plain;h=bf46be8bbf6faf94da6ca687f6a61b1c78a03879;hp=733f2cc69cfc634363c5f5a3cb448d8f17056686 unfolding: do not introduce additional lwsp Signed-off-by: Ian Jackson (cherry picked from commit 8f597404afd9b075dc98b134a4734b2b18d065d7) --- diff --git a/stump/bin/submission.pl b/stump/bin/submission.pl index 27718d6..d19c3ba 100755 --- a/stump/bin/submission.pl +++ b/stump/bin/submission.pl @@ -350,7 +350,7 @@ sub readMessage { # But, first, a wrinkle ... if (!m/^(?:References):/i) { push @unfolded, (m/^[^:]+:/ ? $& : '????') - if s/\n(?=.)/ /g; + if s/\n(?=.)//g; if (length $_ > 505) { #wtf $_ = substr($_, 0, 500); $_ =~ s/\n?$/\n/;