Skip to content
Snippets Groups Projects
Commit 997bdaee authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(pr): don’t escape @ in compare links

Closes #3162
parent ee06ad2e
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,11 @@ async function getPrBody(config) {
releaseNotes = releaseNotes.replace(/@/g, '@​');
releaseNotes = releaseNotes.replace(/(`\[?@)​/g, '$1');
releaseNotes = releaseNotes.replace(/([a-z]@)​/gi, '$1');
releaseNotes = releaseNotes.replace(/\/compare\/@​/g, '/compare/@');
releaseNotes = releaseNotes.replace(
/(\(https:\/\/[^)]*?)\.\.\.@​/g,
'$1...@'
);
releaseNotes = releaseNotes.replace(
/([\s(])#(\d+)([)\s]?)/g,
'$1#​$2$3'
......
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