Skip to content

Build your personal knowledge base with Trilium Notes

Evernote import - use pageUrl attribute for enex source-url

contributoraa3b26c965e4
diff --git a/src/services/import/enex.js b/src/services/import/enex.js
index dde601a72f..b00d2e21ba 100644
--- a/src/services/import/enex.js
+++ b/src/services/import/enex.js
@@ -115,7 +115,7 @@ function importEnex(taskContext, file, parentNote) {
let labelName = currentTag;
if (labelName === 'source-url') {
- labelName = 'sourceUrl';
+ labelName = 'pageUrl';
}
labelName = sanitizeAttributeName(labelName);
@@ -139,7 +139,7 @@ function importEnex(taskContext, file, parentNote) {
else if (currentTag === 'source-url') {
resource.attributes.push({
type: 'label',
- name: 'sourceUrl',
+ name: 'pageUrl',
value: text
});
}