fix generate web-types.json bug (#5674)
set the wrong default value by parse md table error.pull/5882/head
parent
2a3798e9b4
commit
6feda7be81
|
@ -25,7 +25,7 @@ function readLine(input: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function splitTableLine(line: string) {
|
function splitTableLine(line: string) {
|
||||||
line = line.replace('\\|', 'JOIN');
|
line = line.replace(/\\\|/g, 'JOIN');
|
||||||
|
|
||||||
const items = line.split('|').map(item => item.trim().replace('JOIN', '|'));
|
const items = line.split('|').map(item => item.trim().replace('JOIN', '|'));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue