From b9d19e6738ada1f9d7ab5335fe5d2f532f0d292c Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Fri, 18 Jan 2019 10:35:21 +0100 Subject: [PATCH] fix(github): delinkify markdown references Closes #3082 --- lib/platform/github/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js index 6ed4aa0a7e..26e813a294 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); } -- GitLab