From d6f473db17ef147bf1bdc757587e694a1b2f947a Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Mon, 27 Aug 2018 13:51:20 +0200
Subject: [PATCH] fix: remove unnecessary @ escaping

---
 lib/workers/pr/index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/workers/pr/index.js b/lib/workers/pr/index.js
index 1a1fe65f88..4e5254489d 100644
--- a/lib/workers/pr/index.js
+++ b/lib/workers/pr/index.js
@@ -186,6 +186,7 @@ async function ensurePr(prConfig) {
   // Put a zero width space after every @ symbol to prevent unintended hyperlinking
   prBody = prBody.replace(/@/g, '@&#8203;');
   prBody = prBody.replace(/(`\[?@)&#8203;/g, '$1');
+  prBody = prBody.replace(/([a-z]@)&#8203;/gi, '$1');
   prBody = prBody.replace(issueRe, '$1#&#8203;$2$3');
   // convert escaped backticks back to `
   const backTickRe = /&#x60;([^/]*?)&#x60;/g;
-- 
GitLab