[fix] output:markdown:table
This commit is contained in:
parent
c51f6d12b0
commit
a47f272040
|
|
@ -154,6 +154,9 @@ class type_output_markdown implements type_output<string>
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
.map(
|
||||||
|
x => x.replace(new RegExp("\\\|","g"), "\\\|")
|
||||||
|
)
|
||||||
.join(" | ")
|
.join(" | ")
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
@ -186,6 +189,9 @@ class type_output_markdown implements type_output<string>
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
.map(
|
||||||
|
x => x.replace(new RegExp("\\\|","g"), "\\\|")
|
||||||
|
)
|
||||||
.join(" | ")
|
.join(" | ")
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue