diff --git a/CliClient/tests/HtmlToMd.js b/CliClient/tests/HtmlToMd.js index d7c7a05d48..810c4d9217 100644 --- a/CliClient/tests/HtmlToMd.js +++ b/CliClient/tests/HtmlToMd.js @@ -34,7 +34,7 @@ describe('HtmlToMd', function() { const htmlPath = basePath + '/' + htmlFilename; const mdPath = basePath + '/' + filename(htmlFilename) + '.md'; - // if (htmlFilename !== 'list2.html') continue; + // if (htmlFilename !== 'list4.html') continue; const html = await shim.fsDriver().readFile(htmlPath); const expectedMd = await shim.fsDriver().readFile(mdPath); diff --git a/CliClient/tests/html_to_md/list4.html b/CliClient/tests/html_to_md/list4.html index 27e878092c..945f3df348 100644 --- a/CliClient/tests/html_to_md/list4.html +++ b/CliClient/tests/html_to_md/list4.html @@ -1,11 +1,11 @@ \ No newline at end of file diff --git a/ReactNativeClient/lib/import-enex-md-gen.js b/ReactNativeClient/lib/import-enex-md-gen.js index 3a0bdc3f30..76e2f7b6d1 100644 --- a/ReactNativeClient/lib/import-enex-md-gen.js +++ b/ReactNativeClient/lib/import-enex-md-gen.js @@ -747,6 +747,11 @@ function enexXmlToMdArray(stream, resources, options = {}) { warningsTags: [], }; + // In some cases white space should be ignored. For example, this: + //