1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Desktop: Fix issue when importing ENEX file that contains invalid list elements

This commit is contained in:
Laurent Cozic 2020-12-28 14:29:02 +00:00
parent 0f59731c06
commit 469cd19ec1

View File

@ -624,7 +624,7 @@ function enexXmlToMdArray(stream, resources) {
section.lines.push(BLOCK_OPEN);
if (!state.lists.length) {
displaySaxWarning(this, 'Found <li> tag without being inside a list');
// return;
return;
}
const container = state.lists[state.lists.length - 1];