Fix lint translation script

This commit is contained in:
yflory 2023-12-20 16:40:48 +01:00
parent 35ea39631b
commit bfc03ddfae
1 changed files with 1 additions and 1 deletions

View File

@ -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 () {};