diff --git a/CliClient/tests/HtmlToMd.js b/CliClient/tests/HtmlToMd.js index 1566970857..3ed47f0759 100644 --- a/CliClient/tests/HtmlToMd.js +++ b/CliClient/tests/HtmlToMd.js @@ -39,7 +39,7 @@ describe('HtmlToMd', function() { const htmlPath = basePath + '/' + htmlFilename; const mdPath = basePath + '/' + filename(htmlFilename) + '.md'; - // if (htmlFilename !== 'mathjax_block.html') continue; + // if (htmlFilename !== 'table_with_pipe.html') continue; const htmlToMdOptions = {}; diff --git a/CliClient/tests/html_to_md/table_with_pipe.html b/CliClient/tests/html_to_md/table_with_pipe.html new file mode 100644 index 0000000000..77e55346d0 --- /dev/null +++ b/CliClient/tests/html_to_md/table_with_pipe.html @@ -0,0 +1,4 @@ + + + +
Line with | pipeNo pipe
OneTwo
\ No newline at end of file diff --git a/CliClient/tests/html_to_md/table_with_pipe.md b/CliClient/tests/html_to_md/table_with_pipe.md new file mode 100644 index 0000000000..76ebeb4c7b --- /dev/null +++ b/CliClient/tests/html_to_md/table_with_pipe.md @@ -0,0 +1,4 @@ +| | | +| --- | --- | +| Line with \| pipe | No pipe | +| One | Two | \ No newline at end of file diff --git a/ElectronClient/app/package-lock.json b/ElectronClient/app/package-lock.json index cf6e018dac..4c82cae870 100644 --- a/ElectronClient/app/package-lock.json +++ b/ElectronClient/app/package-lock.json @@ -4013,9 +4013,9 @@ } }, "joplin-turndown-plugin-gfm": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/joplin-turndown-plugin-gfm/-/joplin-turndown-plugin-gfm-1.0.8.tgz", - "integrity": "sha512-uXgq2zGvjiMl/sXG7946EGhh1pyGbZ0L/6z21LBi8D6BJgHQufmXdve/UP3zpgnhiFhfXvzGY10uNaTuDQ99iQ==" + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/joplin-turndown-plugin-gfm/-/joplin-turndown-plugin-gfm-1.0.9.tgz", + "integrity": "sha512-SOa/Uiy3nyoBGtHqFe+TBg10UTIOzzcUUzNhx2MyR4Z0vbKL3enGggGypig1t7G5uHwv5j+NhooRuM619Zk0bw==" }, "js-tokens": { "version": "3.0.2", diff --git a/ElectronClient/app/package.json b/ElectronClient/app/package.json index 5a837065d4..a6100011c5 100644 --- a/ElectronClient/app/package.json +++ b/ElectronClient/app/package.json @@ -103,7 +103,7 @@ "html-minifier": "^4.0.0", "image-type": "^3.0.0", "joplin-turndown": "^4.0.17", - "joplin-turndown-plugin-gfm": "^1.0.8", + "joplin-turndown-plugin-gfm": "^1.0.9", "jssha": "^2.3.1", "katex": "^0.10.0", "levenshtein": "^1.0.5",