diff --git a/lib/platform/bitbucket/index.js b/lib/platform/bitbucket/index.js index 0b649888d6a1781523c6731bf788ae472467607c..2d59f527acf4a9a3136c263f459940acfffacc47 100644 --- a/lib/platform/bitbucket/index.js +++ b/lib/platform/bitbucket/index.js @@ -473,7 +473,10 @@ async function mergePr(prNo, branchName) { function getPrBody(input) { // Remove any HTML we use - return input.replace(/<\/?summary>/g, '**').replace(/<\/?details>/g, ''); + return input + .replace(/<\/?summary>/g, '**') + .replace(/<\/?details>/g, '') + .substring(0, 50000); } // Return the commit SHA for a branch