diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2019-12-30 09:55:15 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-12-30 20:46:13 +0100 |
commit | 3c858d79218344eccc264dc97dcf13aa571d813b (patch) | |
tree | e523115b38bc48aee6e22108456155b45bdcdf97 /server/sonar-docs/src/templates | |
parent | 997cc0f1ab3827868dd288ce104c06f7b53844a9 (diff) | |
download | sonarqube-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.tsx | 4 |
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)) |