This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new c22287b  Quoted text incorrectly detected
c22287b is described below

commit c22287b0781bd3a23ed95b06001cb0e0f13ee985
Author: Sebb <[email protected]>
AuthorDate: Mon Nov 22 17:13:42 2021 +0000

    Quoted text incorrectly detected
---
 webui/js/source/body-fixups.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webui/js/source/body-fixups.js b/webui/js/source/body-fixups.js
index 9b8659b..b8bec27 100644
--- a/webui/js/source/body-fixups.js
+++ b/webui/js/source/body-fixups.js
@@ -45,7 +45,7 @@ const PONYMAIL_QUOTE_RE = new RegExp("(" +
     ")" +
     ")+|" + //OR...
     "(" +
-    "^(-{5,10}).+?\\1[\r\n]+" + // ----- Forwarded Message -----
+    "^(-{5,10}) .+? \\1[\r\n]+" + // ----- Forwarded Message -----
     "(^\\w+:\\s+.+[\r\n]+){3,10}[\r\n]+" + // Between three and ten header 
fields (we ask for at least 3, so as to not quote PGP blocks)
     "[\\S\\s]+" + // Whatever comes next...
     ")+" +

Reply via email to