fix in ENEX import

This commit is contained in:
zadam
2020-09-16 20:32:20 +02:00
parent 13b9f5231c
commit d57a303251
4 changed files with 14 additions and 9 deletions

View File

@@ -11,9 +11,9 @@ const IGNORED_ATTR_NAMES = [
function filterLabelValue(value) {
return value
.replace(/https?:\/\//i, "")
.replace(/www\./i, "")
.replace(/(\.net|\.com|\.org|\.info|\.edu)/i, "");
.replace(/https?:\/\//ig, "")
.replace(/www\./ig, "")
.replace(/(\.net|\.com|\.org|\.info|\.edu)/ig, "");
}
/**