chiark
/
gitweb
/
~webstump
/
modbot-urcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cae255
)
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:27:12 +0000
(14:27 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
stump/bin/submission.pl
patch
|
blob
|
history
diff --git
a/stump/bin/submission.pl
b/stump/bin/submission.pl
index 27718d657d9bc211c3aa8c5c3dbce54abbe9e85b..d19c3ba9eaa08d6f64a8d94964b3d759889dd2ca 100755
(executable)
--- 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/;