mirror of https://github.com/xwiki-labs/cryptpad
Fix lint translation script
This commit is contained in:
parent
35ea39631b
commit
bfc03ddfae
|
@ -53,7 +53,7 @@ special_rules.fr = function (s) {
|
|||
ignore instances where the following character is a '/'
|
||||
because this is probably a URL (http(s)://)
|
||||
*/
|
||||
return /\S[:;\?\!][^\/]{1,}/.test(s);
|
||||
return /\S[:;\?\!][^\/]{1,}/.test(s.replace(/mailto:/g, " :"));
|
||||
};
|
||||
|
||||
var noop = function () {};
|
||||
|
|
Loading…
Reference in New Issue