From 348ebe20ba504bb5c2b1b26524797f9ebfc23a13 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 28 Dec 2015 13:29:34 +0100 Subject: [PATCH] Update to v2.0.1. --- app/assets/javascripts/app/lib/base/email-addresses.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/app/lib/base/email-addresses.js b/app/assets/javascripts/app/lib/base/email-addresses.js index 85d763aaa..2c3bad078 100644 --- a/app/assets/javascripts/app/lib/base/email-addresses.js +++ b/app/assets/javascripts/app/lib/base/email-addresses.js @@ -1,6 +1,6 @@ // email-addresses.js - RFC 5322 email address parser -// v 2.0.0 +// v 2.0.1 // // http://tools.ietf.org/html/rfc5322 // @@ -297,7 +297,6 @@ function parse5322(opts) { // 3.2.2. Folding White Space and Comments // FWS = ([*WSP CRLF] 1*WSP) / obs-FWS - // obs-FWS = 1*WSP *(CRLF 1*WSP) function fws() { return wrap('fws', or( obsFws, @@ -463,7 +462,7 @@ function parse5322(opts) { // phrase = 1*word / obs-phrase function phrase() { - return wrap('phrase', or(star(word, 1), obsPhrase)()); + return wrap('phrase', or(obsPhrase, star(word, 1))()); } // 3.4. Address Specification