You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/09/10 22:52:23 UTC

[incubator-ponymail-foal] branch master updated: git may use three @s

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

humbedooh 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 1a1b3d9  git may use three @s
1a1b3d9 is described below

commit 1a1b3d905638d7ff13f75a95eea8ba0c567afc5e
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Fri Sep 10 17:52:16 2021 -0500

    git may use three @s
---
 webui/js/source/body-fixups.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webui/js/source/body-fixups.js b/webui/js/source/body-fixups.js
index 75990e2..3e990b4 100644
--- a/webui/js/source/body-fixups.js
+++ b/webui/js/source/body-fixups.js
@@ -60,7 +60,7 @@ ponymail_diff_regex = new RegExp(
   "^-{3} .+?[\r\n]+" + // Starts with a "--- /foo/bar/baz"
   "^\\+{3} .+?[\r\n]+" + // Then a "+++ /foo/bar/baz"
   "(" + // Then one or more of...
-    "^@@ .+[\r\n]+" + // positioning
+    "^@@@? .+[\r\n]+" + // positioning
     "(^ .*[\r\n]*$){0,3}" + // diff header
     "(^[-+ ].*[\r\n]*)+" + // actual diff
     "(^ .*[\r\n]*$){0,3}" + // diff trailer
@@ -301,4 +301,4 @@ function toggle_quote(el) {
     } else {
         quote.style.display = 'none';
     }
-}
\ No newline at end of file
+}