diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2021-02-23 17:22:27 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-02-25 20:07:33 +0000 |
commit | ffaa8f3cd63239fc25c624955e8e0760dc53ce11 (patch) | |
tree | 652ce34e5bc60d0ad5f780c07d49502ca54e0cd9 /sonar-markdown/src/main/java/org | |
parent | fcb392a997597f6c60b2851df19cd6a5e09de65d (diff) | |
download | sonarqube-ffaa8f3cd63239fc25c624955e8e0760dc53ce11.tar.gz sonarqube-ffaa8f3cd63239fc25c624955e8e0760dc53ce11.zip |
SONAR-13357 Custom hotspot rule's description isn't split into tabs
Diffstat (limited to 'sonar-markdown/src/main/java/org')
-rw-r--r-- | sonar-markdown/src/main/java/org/sonar/markdown/HtmlHeadingChannel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlHeadingChannel.java b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlHeadingChannel.java index 808e79e0300..fbd1dd71021 100644 --- a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlHeadingChannel.java +++ b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlHeadingChannel.java @@ -71,7 +71,7 @@ public class HtmlHeadingChannel extends RegexChannel<MarkdownOutput> { CharSequence headingText = token.subSequence(index, token.length()); output.append("<h" + headingLevel + ">"); - output.append(headingText); + output.append(headingText.toString().trim()); output.append("</h" + headingLevel + ">"); } } |