Skip to content
Snippets Groups Projects
Unverified Commit 49332090 authored by Trim21's avatar Trim21 Committed by GitHub
Browse files

fix: markdown table cell (#6514)

parent 12c66983
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,10 @@ export function getPrUpdatesTable(config: BranchConfig): string {
for (const row of tableValues) {
let val = '|';
for (const column of tableColumns) {
val += ` ${row[column].replace(/^@/, '@​')} |`;
const content = row[column]
.replace(/^@/, '@​')
.replace(/\|/g, '\\|');
val += ` ${content} |`;
}
val += '\n';
rows.push(val);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment