1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Electron: Fixed import of certain images

This commit is contained in:
Laurent Cozic
2017-11-29 23:27:20 +00:00
parent 97b8cad755
commit 52f09d2638
9 changed files with 20 additions and 29 deletions

View File

@@ -275,7 +275,8 @@ function importEnex(parentFolderId, filePath, importOptions = null) {
let attr = currentNodeAttributes();
noteResource.dataEncoding = attr.encoding;
}
noteResource[n] = text;
if (!(n in noteResource)) noteResource[n] = '';
noteResource[n] += text;
} else if (note) {
if (n == 'title') {
note.title = text;