We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46e019f commit 177df33Copy full SHA for 177df33
manifest.json
@@ -1,6 +1,6 @@
1
{
2
"name": "HTML Table to Markdown",
3
- "version": "1.2.0",
+ "version": "1.2.1",
4
"description": "Convert an HTML Table to Markdown for easy export.",
5
"manifest_version": 2,
6
"devtools_page": "devtools.html",
panel.js
@@ -77,7 +77,7 @@ const convertToMatrix = node => {
77
// copy the elements into all cells that are spanned
78
for (let colCount = 0; colCount < colspan; colCount++) {
79
for (let rowCount = 0; rowCount < rowspan; rowCount++) {
80
- tableMatrix[rowIndex + rowCount].push(tableElement.innerText.replace('\n', ' '))
+ tableMatrix[rowIndex + rowCount].push(tableElement.innerText.replace(/\n/g, ' '))
81
}
82
83
})
0 commit comments