Skip to content

Commit 572ffe2

Browse files
authored
chore(docs): Escape angle brackets in test URL for PR description (#5256)
#resilience
1 parent a97ba3f commit 572ffe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/github/preview-url-pr-description.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async function previewUrlPrDescription({ github, context }) {
2020
});
2121
const urlSectionStart = '\n<!-- DBUX-TEST-URL-START -->';
2222
const urlSectionEnd = '\n<!-- DBUX-TEST-URL-END -->';
23-
const testUrl = `🔭🐙🐈 Test this branch here: https://${owner}.github.io/${repo}/review/${headRef}`;
23+
const testUrl = `🔭🐙🐈 Test this branch here: <https://${owner}.github.io/${repo}/review/${headRef}>`;
2424
let body = pr.data.body || '';
2525
// Remove any existing test URL section
2626
const startIdx = body.indexOf(urlSectionStart);

0 commit comments

Comments
 (0)