Skip to content

Commit

Permalink
lgtm
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Jun 15, 2020
1 parent 2c40a01 commit 09e4e13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/workers/pr/body/updates-table.ts
Expand Up @@ -61,9 +61,10 @@ export function getPrUpdatesTable(config: BranchConfig): string {
for (const row of tableValues) {
let val = '|';
for (const column of tableColumns) {
val += ` ${row[column]
const content = row[column]
.replace(/^@/, '@​')
.replace(/\|/g, '\\|')} |`;
.replace(/\|/g, '\\|');
val += ` ${content} |`;
}
val += '\n';
rows.push(val);
Expand Down

0 comments on commit 09e4e13

Please sign in to comment.