ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject incubator-ponymail git commit: cut off trailing whitespace in quotes
Date Mon, 05 Sep 2016 15:34:31 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/coffee-and-cake 592c0c92d -> 26b0a9378


cut off trailing whitespace in quotes


Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/26b0a937
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/26b0a937
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/26b0a937

Branch: refs/heads/coffee-and-cake
Commit: 26b0a93784c3ee5881477ed6565950bb635ade27
Parents: 592c0c9
Author: Daniel Gruno <humbedooh@apache.org>
Authored: Mon Sep 5 17:34:19 2016 +0200
Committer: Daniel Gruno <humbedooh@apache.org>
Committed: Mon Sep 5 17:34:19 2016 +0200

----------------------------------------------------------------------
 site/js/coffee/email_display_basic.coffee | 1 +
 site/js/ponymail-coffee.js                | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/26b0a937/site/js/coffee/email_display_basic.coffee
----------------------------------------------------------------------
diff --git a/site/js/coffee/email_display_basic.coffee b/site/js/coffee/email_display_basic.coffee
index a8fac43..81cffb0 100644
--- a/site/js/coffee/email_display_basic.coffee
+++ b/site/js/coffee/email_display_basic.coffee
@@ -160,6 +160,7 @@ class BasicEmailDisplay
                 quote = m[1]
                 i = quote.length
                 t = splicer.substr(0, i)
+                quote = quote.replace(/(>*\s*\r?\n)+$/g, "")
                 qdiv = new HTML('div', {class: "email_quote_parent" }, [
                     new HTML('img', { src: 'images/quote.png', title: "Toggle quote", onclick:"toggleQuote(this)"}),
                     new HTML('br')

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/26b0a937/site/js/ponymail-coffee.js
----------------------------------------------------------------------
diff --git a/site/js/ponymail-coffee.js b/site/js/ponymail-coffee.js
index fac6513..6e6ea54 100644
--- a/site/js/ponymail-coffee.js
+++ b/site/js/ponymail-coffee.js
@@ -724,6 +724,7 @@ BasicEmailDisplay = (function() {
         quote = m[1];
         i = quote.length;
         t = splicer.substr(0, i);
+        quote = quote.replace(/(>*\s*\r?\n)+$/g, "");
         qdiv = new HTML('div', {
           "class": "email_quote_parent"
         }, [


Mime
View raw message