about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchIdx.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-09-09 00:01:26 +0000
committerEric Wong <e@80x24.org>2016-09-09 00:02:19 +0000
commit6ca633a1360a0974a8ebb117554a856022d797c6 (patch)
treece46b77f08b93408299c1628060ba14aaf17b33a /lib/PublicInbox/SearchIdx.pm
parent21ab8f3cc530d9483091f32c0865ba1ce867cef8 (diff)
downloadpublic-inbox-6ca633a1360a0974a8ebb117554a856022d797c6.tar.gz
This is stricter than the mutt quote_regexp default
("^([ \t]*[|>:}#])+" on Debian jessie),
but matches what we have in View.pm.

I prefer the stricter quote detection since it is less ambiguous
and less likely to hide/obscure important details.
Diffstat (limited to 'lib/PublicInbox/SearchIdx.pm')
-rw-r--r--lib/PublicInbox/SearchIdx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm
index ae890605..25452dae 100644
--- a/lib/PublicInbox/SearchIdx.pm
+++ b/lib/PublicInbox/SearchIdx.pm
@@ -184,7 +184,7 @@ sub add_message {
                         $part->body_set('');
                         my @lines = split(/\n/, $body);
                         while (defined(my $l = shift @lines)) {
-                                if ($l =~ /^\s*>/) {
+                                if ($l =~ /^>/) {
                                         push @quot, $l;
                                 } else {
                                         push @orig, $l;