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 6ccd218 commit 5180458Copy full SHA for 5180458
src/plugins/search/search.js
@@ -57,11 +57,9 @@ function getAllPaths(router) {
57
58
function getTableData(token) {
59
if (!token.text && token.type === 'table') {
60
- token.cells.unshift(token.header);
61
- token.text = token.cells
62
- .map(function (rows) {
63
- return rows.join(' | ');
64
- })
+ token.rows.unshift(token.header);
+ token.text = token.rows
+ .map(columns => columns.map(r => r.text).join(' | '))
65
.join(' |\n ');
66
}
67
return token.text;
0 commit comments