You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Clipper: Fixes #1783: Fixed importing tables that contain pipes
This commit is contained in:
		| @@ -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 = {}; | ||||
|  | ||||
|   | ||||
							
								
								
									
										4
									
								
								CliClient/tests/html_to_md/table_with_pipe.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								CliClient/tests/html_to_md/table_with_pipe.html
									
									
									
									
									
										Normal file
									
								
							| @@ -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> | ||||
							
								
								
									
										4
									
								
								CliClient/tests/html_to_md/table_with_pipe.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								CliClient/tests/html_to_md/table_with_pipe.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| |     |     | | ||||
| | --- | --- | | ||||
| | Line with \| pipe | No pipe | | ||||
| | One | Two | | ||||
							
								
								
									
										6
									
								
								ElectronClient/app/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								ElectronClient/app/package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -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", | ||||
|   | ||||
| @@ -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", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user