Merge pull request #752 from patriceac/patch-14

Fix parsing of text file tasks
This commit is contained in:
cmdr2 2023-01-09 19:16:36 +05:30 committed by GitHub
commit 57ead7f0c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -465,7 +465,7 @@ async function parseContent(text) {
}
// Normal txt file.
const task = parseTaskFromText(text)
if (task) {
if (text.toLowerCase().match('seed:') && task) { // only parse valid task content
restoreTaskToUI(task)
return true
} else {