diff --git a/lib/platform/azure/__snapshots__/index.spec.ts.snap b/lib/platform/azure/__snapshots__/index.spec.ts.snap
index 5b33bd6a1b2750c5c93760dd785862c1069712e0..8188db55f148554a39645d696453466e990afa95 100644
--- a/lib/platform/azure/__snapshots__/index.spec.ts.snap
+++ b/lib/platform/azure/__snapshots__/index.spec.ts.snap
@@ -268,8 +268,6 @@ Object {
 }
 `;
 
-exports[`platform/azure/index massageMarkdown(input) returns updated pr body 1`] = `"https://github.com/foo/bar/issues/5 plus also [a link](https://github.com/foo/bar/issues/5)"`;
-
 exports[`platform/azure/index updatePr(prNo, title, body) should close the PR 1`] = `
 Array [
   Array [
diff --git a/lib/platform/azure/index.spec.ts b/lib/platform/azure/index.spec.ts
index 88ff522dd04dc026d3b089e2a9ec0cc52b9041dc..c117cd68729f10f0fd8ff98722bd7cc072f28258 100644
--- a/lib/platform/azure/index.spec.ts
+++ b/lib/platform/azure/index.spec.ts
@@ -974,8 +974,10 @@ describe('platform/azure/index', () => {
   describe('massageMarkdown(input)', () => {
     it('returns updated pr body', () => {
       const input =
-        '<details>https://github.com/foo/bar/issues/5 plus also [a link](https://github.com/foo/bar/issues/5)';
-      expect(azure.massageMarkdown(input)).toMatchSnapshot();
+        '\n---\n\n - [ ] <!-- rebase-check --> rebase\nplus also [a link](https://github.com/foo/bar/issues/5)';
+      expect(azure.massageMarkdown(input)).toMatchInlineSnapshot(
+        `"plus also [a link](https://github.com/foo/bar/issues/5)"`
+      );
     });
   });
 
diff --git a/lib/platform/azure/index.ts b/lib/platform/azure/index.ts
index e91aa5e06ec5105acfdba2816266438e26e5bd76..a280295d6262bf5a56a3403730aea11fac25b8a8 100644
--- a/lib/platform/azure/index.ts
+++ b/lib/platform/azure/index.ts
@@ -678,11 +678,7 @@ export function massageMarkdown(input: string): string {
       'you tick the rebase/retry checkbox',
       'rename PR to start with "rebase!"'
     )
-    .replace(new RegExp(`\n---\n\n.*?<!-- rebase-check -->.*?\n`), '')
-    .replace('<summary>', '**')
-    .replace('</summary>', '**')
-    .replace('<details>', '')
-    .replace('</details>', '');
+    .replace(new RegExp(`\n---\n\n.*?<!-- rebase-check -->.*?\n`), '');
 }
 
 /* istanbul ignore next */