diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js index 6ed4aa0a7eb22c..26e813a294c3d4 100644 --- a/lib/platform/github/index.js +++ b/lib/platform/github/index.js @@ -1478,7 +1478,8 @@ function getPrBody(input) { const massagedInput = input // to be safe, replace all github.com links with renovatebot redirector .replace(/href="https?:\/\/github.com\//g, 'href="https://togithub.com/') - .replace(/]\(https:\/\/github\.com\//g, '](https://togithub.com/'); + .replace(/]\(https:\/\/github\.com\//g, '](https://togithub.com/') + .replace(/]: https:\/\/github\.com\//g, ']: https://togithub.com/'); return smartTruncate(massagedInput); }