chiark
/
gitweb
/
~webstump
/
modbot-ulm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
986246a
)
unfolding: do not introduce additional lwsp
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 5 Sep 2018 13:27:12 +0000
(14:27 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 5 Sep 2018 13:53:08 +0000
(14:53 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
(cherry picked from commit
8f597404afd9b075dc98b134a4734b2b18d065d7
)
stump/bin/submission.pl
patch
|
blob
|
history
diff --git
a/stump/bin/submission.pl
b/stump/bin/submission.pl
index 565d2d462c7fb6cf200ccc48c49180229f8d8c81..d6f5a400b1abba9fdbbdd261bb341348b2112328 100755
(executable)
--- a/
stump/bin/submission.pl
+++ b/
stump/bin/submission.pl
@@
-344,7
+344,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/;