mirror of
https://github.com/zadam/trilium.git
synced 2025-02-20 21:13:11 +08:00
fix OPML import
This commit is contained in:
parent
8a7228146c
commit
767aaa18f4
2 changed files with 3 additions and 1 deletions
|
@ -74,7 +74,8 @@
|
|||
"turndown": "5.0.3",
|
||||
"turndown-plugin-gfm": "1.0.2",
|
||||
"unescape": "1.0.1",
|
||||
"ws": "7.2.0"
|
||||
"ws": "7.2.0",
|
||||
"xml2js": "0.4.22"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "6.0.12",
|
||||
|
|
|
@ -48,6 +48,7 @@ async function importOpml(taskContext, fileBuffer, parentNote) {
|
|||
parentNoteId,
|
||||
title,
|
||||
content,
|
||||
type: 'text',
|
||||
isProtected: parentNote.isProtected && protectedSessionService.isProtectedSessionAvailable()
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue