mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Merge remote-tracking branch 'origin/stable'
# Conflicts: # package-lock.json
This commit is contained in:
commit
4cc9bdf5e4
@ -147,7 +147,10 @@ function importEnex(taskContext, file, parentNote) {
|
|||||||
if (currentTag === 'data') {
|
if (currentTag === 'data') {
|
||||||
text = text.replace(/\s/g, '');
|
text = text.replace(/\s/g, '');
|
||||||
|
|
||||||
resource.content = utils.fromBase64(text);
|
// resource can be chunked into multiple events: https://github.com/zadam/trilium/issues/3424
|
||||||
|
// it would probably make sense to do this in a more global way since it can in theory affect any field,
|
||||||
|
// not just data
|
||||||
|
resource.content = (resource.content || "") + text;
|
||||||
}
|
}
|
||||||
else if (currentTag === 'mime') {
|
else if (currentTag === 'mime') {
|
||||||
resource.mime = text.toLowerCase();
|
resource.mime = text.toLowerCase();
|
||||||
@ -245,6 +248,8 @@ function importEnex(taskContext, file, parentNote) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource.content = utils.fromBase64(resource.content);
|
||||||
|
|
||||||
const hash = utils.md5(resource.content);
|
const hash = utils.md5(resource.content);
|
||||||
|
|
||||||
// skip all checked/unchecked checkboxes from OneNote
|
// skip all checked/unchecked checkboxes from OneNote
|
||||||
|
Loading…
x
Reference in New Issue
Block a user