From 3c858d79218344eccc264dc97dcf13aa571d813b Mon Sep 17 00:00:00 2001
From: Philippe Perrin <philippe.perrin@sonarsource.com>
Date: Mon, 30 Dec 2019 09:55:15 +0100
Subject: Fix formatting issues due to the new version of prettier

---
 server/sonar-docs/src/templates/page.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'server/sonar-docs/src/templates/page.tsx')

diff --git a/server/sonar-docs/src/templates/page.tsx b/server/sonar-docs/src/templates/page.tsx
index ac170eac2f9..0166f5f96d7 100644
--- a/server/sonar-docs/src/templates/page.tsx
+++ b/server/sonar-docs/src/templates/page.tsx
@@ -170,9 +170,7 @@ function removeExtraHeadings(content: string, headings: MarkdownHeading[]) {
     .filter(
       heading =>
         content.indexOf(
-          `<div class="custom-block collapse"><div class="custom-block-body"><h2>${
-            heading.value
-          }</h2>`
+          `<div class="custom-block collapse"><div class="custom-block-body"><h2>${heading.value}</h2>`
         ) < 0
     )
     .filter(heading => !heading.value || !heading.value.match(/Table of content/i))
-- 
cgit v1.2.3

