We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e33ad2 commit 921f310Copy full SHA for 921f310
src/view/treeNodes/pullRequestNode.ts
@@ -318,8 +318,8 @@ export class PRNode extends TreeNode implements vscode.CommentingRangeProvider2
318
if (COPILOT_ACCOUNTS[author.login]) {
319
labelTitle = labelTitle.replace('[WIP]', '');
320
}
321
- // Escape any $ in the title to avoid rendering PR titles as icons.
322
- label += labelTitle.replace(/[$]/g, '\\$');
+ // Escape any $(...) syntax to avoid rendering PR titles as icons.
+ label += labelTitle.replace(/\$\([a-zA-Z0-9~-]+\)/g, '\\$&');
323
324
if (isDraft) {
325
label = `_${label}_`;
0 commit comments