aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/src/templates
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2019-12-30 09:55:15 +0100
committerSonarTech <sonartech@sonarsource.com>2019-12-30 20:46:13 +0100
commit3c858d79218344eccc264dc97dcf13aa571d813b (patch)
treee523115b38bc48aee6e22108456155b45bdcdf97 /server/sonar-docs/src/templates
parent997cc0f1ab3827868dd288ce104c06f7b53844a9 (diff)
downloadsonarqube-3c858d79218344eccc264dc97dcf13aa571d813b.tar.gz
sonarqube-3c858d79218344eccc264dc97dcf13aa571d813b.zip
Fix formatting issues due to the new version of prettier
Diffstat (limited to 'server/sonar-docs/src/templates')
-rw-r--r--server/sonar-docs/src/templates/page.tsx4
1 files changed, 1 insertions, 3 deletions
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))