Skip to content

Commit ed84825

Browse files
committed
See if replaceAll works on actions
1 parent cb84003 commit ed84825

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/ql-vscode/src/remote-queries/remote-queries-markdown-generation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ function generateMarkdownForRawTableCell(
244244
break;
245245
}
246246
// `|` characters break the table, so we need to escape them
247-
return cellValue.replace(/\|/g, '\\|');
247+
return cellValue.replaceAll('|', '\\|');
248248
}
249249

250250

0 commit comments

Comments
 (0)