|
@ -34,7 +34,7 @@ module.exports = function table(state, startLine, endLine, silent) { |
|
|
if (!/^[-:| ]+$/.test(lineText)) { return false; } |
|
|
if (!/^[-:| ]+$/.test(lineText)) { return false; } |
|
|
|
|
|
|
|
|
rows = lineText.split('|'); |
|
|
rows = lineText.split('|'); |
|
|
if (rows <= 2) { return false; } |
|
|
if (rows.length < 2) { return false; } |
|
|
aligns = []; |
|
|
aligns = []; |
|
|
for (i = 0; i < rows.length; i++) { |
|
|
for (i = 0; i < rows.length; i++) { |
|
|
t = rows[i].trim(); |
|
|
t = rows[i].trim(); |
|
|