mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
dd82b0f958
@ -115,7 +115,7 @@ function importEnex(taskContext, file, parentNote) {
|
|||||||
let labelName = currentTag;
|
let labelName = currentTag;
|
||||||
|
|
||||||
if (labelName === 'source-url') {
|
if (labelName === 'source-url') {
|
||||||
labelName = 'sourceUrl';
|
labelName = 'pageUrl';
|
||||||
}
|
}
|
||||||
|
|
||||||
labelName = sanitizeAttributeName(labelName);
|
labelName = sanitizeAttributeName(labelName);
|
||||||
@ -139,7 +139,7 @@ function importEnex(taskContext, file, parentNote) {
|
|||||||
else if (currentTag === 'source-url') {
|
else if (currentTag === 'source-url') {
|
||||||
resource.attributes.push({
|
resource.attributes.push({
|
||||||
type: 'label',
|
type: 'label',
|
||||||
name: 'sourceUrl',
|
name: 'pageUrl',
|
||||||
value: text
|
value: text
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user