Clipper: Fixes #1783: Fixed importing tables that contain pipes

This commit is contained in:
Laurent Cozic
2019-09-07 10:32:52 +01:00
parent 038efa10f2
commit 5135c8a782
5 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -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 = {};
@@ -0,0 +1,4 @@
<table>
<tr><td>Line with | pipe</td><td>No pipe</td></tr>
<tr><td>One</td><td>Two</td></tr>
</table>
@@ -0,0 +1,4 @@
| | |
| --- | --- |
| Line with \| pipe | No pipe |
| One | Two |