fix(pr): remove double vv versions from pr body

Fixes #2283, Fixes #2119
This commit is contained in:
Rhys Arkins 2018-07-22 10:26:00 +02:00
parent c97c71a31d
commit 11d85f1ad5

View file

@ -175,6 +175,9 @@ async function ensurePr(prConfig) {
}
prBody = prBody.trim();
// Clean up double v's
prBody = prBody.replace(/\bvv(\d)/g, 'v$1');
// Generic replacements/link-breakers
// Put a zero width space after every # followed by a digit