From fe8ff85d7eabb370d85fc31ca55b9a6c6f86a356 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Thu, 15 Oct 2015 02:58:06 -0400 Subject: [PATCH] Move skin-specific code for compose encryption button to the skin --- program/js/common.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/common.js b/program/js/common.js index 7a0c303..329ffb5 100644 --- a/program/js/common.js +++ b/program/js/common.js @@ -448,7 +448,7 @@ ], icann_addr = 'mailtest\\x40('+icann_domains.join('|')+')', word = '('+atom+'|'+quoted_string+')', - delim = '[,;\s\n]', + delim = '[,;\\s\\n]', local_part = word+'(\\x2e'+word+')*', addr_spec = '(('+local_part+'\\x40'+domain+')|('+icann_addr+'))', reg1 = inline ? new RegExp('(^|<|'+delim+')'+addr_spec+'($|>|'+delim+')', 'i') : new RegExp('^'+addr_spec+'$', 'i'); -- Gitblit v1.9.1