diff --git a/lib/platform/utils/__snapshots__/pr-body.spec.ts.snap b/lib/platform/utils/__snapshots__/pr-body.spec.ts.snap index 9790e8f4e60b75a63b4a518b8add1017228ba89e..55a2a7a99ca2983a39b4f3c3ca4180bd1e483236 100644 --- a/lib/platform/utils/__snapshots__/pr-body.spec.ts.snap +++ b/lib/platform/utils/__snapshots__/pr-body.spec.ts.snap @@ -35,7 +35,9 @@ exports[`platform/utils/pr-body .smartTruncate truncates to 1000 1`] = ` ##### Features -- **docker:** AWS ECR authentication support ([#​4497](https:</details> +- **docker:** AWS ECR authentication support ([#​4497](https:// + +</details> --- diff --git a/lib/platform/utils/pr-body.ts b/lib/platform/utils/pr-body.ts index 8f7b0fda404e25f5575b39881e139b75bc68d485..371452e4bd2e48c91d140e467e2880d7635cced7 100644 --- a/lib/platform/utils/pr-body.ts +++ b/lib/platform/utils/pr-body.ts @@ -6,7 +6,7 @@ export function smartTruncate(input: string, len: number): string { } const releaseNotesMatch = re.exec(input); if (releaseNotesMatch) { - const divider = `</details>\n\n---\n\n### Configuration`; + const divider = `\n\n</details>\n\n---\n\n### Configuration`; const [releaseNotes] = releaseNotesMatch; const nonReleaseNotesLength = input.length - releaseNotes.length - divider.length;