mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
fix in ENEX import
This commit is contained in:
@@ -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, "");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user