diff --git a/CliClient/tests/enex_to_md/list4.html b/CliClient/tests/enex_to_md/list4.html
new file mode 100644
index 000000000..9af5fdfa5
--- /dev/null
+++ b/CliClient/tests/enex_to_md/list4.html
@@ -0,0 +1,5 @@
+
or any other block tag, we skip it, so that a new line
+ // does not get created. It is to handle list4.html test case.
+ // https://github.com/laurent22/joplin/issues/832
+ if (currentList) {
+ if (!currentList.startedText && isBlockTag(n)) return;
+ currentList.startedText = true;
+ }
+
if (n == 'en-note') {
// Start of note
} else if (isBlockTag(n)) {
@@ -476,7 +487,7 @@ function enexXmlToMdArray(stream, resources) {
section = newSection;
} else if (isListTag(n)) {
section.lines.push(BLOCK_OPEN);
- state.lists.push({ tag: n, counter: 1 });
+ state.lists.push({ tag: n, counter: 1, startedText: false });
} else if (n == 'li') {
section.lines.push(BLOCK_OPEN);
if (!state.lists.length) {
@@ -485,6 +496,7 @@ function enexXmlToMdArray(stream, resources) {
}
let container = state.lists[state.lists.length - 1];
+ container.startedText = false;
if (container.tag == "ul") {
section.lines.push("- ");
} else {
diff --git a/docs/faq/index.html b/docs/faq/index.html
index e2468f3d9..55f480ba5 100644
--- a/docs/faq/index.html
+++ b/docs/faq/index.html
@@ -265,6 +265,8 @@
You may use a special keyboard such as Multiling O Keyboard, which has shortcuts to create Markdown tags. More information in this post.
+
The initial sync is very slow, how can I speed it up?
+
Whenever importing a large number of notes, for example from Evernote, it may take a very long time for the first sync to complete. There are various techniques to speed thing up (if you don't want to simply wait for the sync to complete), which are outlined in this post.
Is it possible to use real file and folder names in the sync target?
Unfortunately it is not possible. Joplin synchronises with file systems using an open format however it does not mean the sync files are meant to be user-editable. The format is designed to be performant and reliable, not user friendly (it cannot be both), and that cannot be changed. Joplin sync directory is basically just a database.
Could there be a PIN or password to restrict access to Joplin?
diff --git a/readme/faq.md b/readme/faq.md
index e0fd9a878..5367d0c0c 100644
--- a/readme/faq.md
+++ b/readme/faq.md
@@ -18,6 +18,10 @@ When changing the WebDAV URL, make sure that the new location has the same exact
You may use a special keyboard such as [Multiling O Keyboard](https://play.google.com/store/apps/details?id=kl.ime.oh&hl=en), which has shortcuts to create Markdown tags. [More information in this post](https://discourse.joplin.cozic.net/t/android-create-new-list-item-with-enter/585/2?u=laurent).
+# The initial sync is very slow, how can I speed it up?
+
+Whenever importing a large number of notes, for example from Evernote, it may take a very long time for the first sync to complete. There are various techniques to speed thing up (if you don't want to simply wait for the sync to complete), which are outlined in [this post](https://discourse.joplin.cozic.net/t/workaround-for-slow-initial-bulk-sync-after-evernote-import/746?u=laurent).
+
# Is it possible to use real file and folder names in the sync target?
Unfortunately it is not possible. Joplin synchronises with file systems using an open format however it does not mean the sync files are meant to be user-editable. The format is designed to be performant and reliable, not user friendly (it cannot be both), and that cannot be changed. Joplin sync directory is basically just a database.