aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/issue
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2019-06-17 18:05:43 +0200
committersonartech <sonartech@sonarsource.com>2019-06-28 08:45:43 +0200
commitd835fdaa1d594451b554af805db9869134c716df (patch)
tree7376c601320e5cb687df7e921c5d151972639796 /server/sonar-web/src/main/js/components/issue
parent73e1d5bb27a020277499fe0be5d059184c59c233 (diff)
downloadsonarqube-d835fdaa1d594451b554af805db9869134c716df.tar.gz
sonarqube-d835fdaa1d594451b554af805db9869134c716df.zip
SONAR-12196 Fix SSF-79
Diffstat (limited to 'server/sonar-web/src/main/js/components/issue')
-rw-r--r--server/sonar-web/src/main/js/components/issue/components/IssueCommentLine.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/components/IssueCommentLine.tsx b/server/sonar-web/src/main/js/components/issue/components/IssueCommentLine.tsx
index 66de3381072..09de825c56a 100644
--- a/server/sonar-web/src/main/js/components/issue/components/IssueCommentLine.tsx
+++ b/server/sonar-web/src/main/js/components/issue/components/IssueCommentLine.tsx
@@ -89,6 +89,7 @@ export default class IssueCommentLine extends React.PureComponent<Props, State>
</div>
<div
className="issue-comment-text markdown"
+ // Safe: Comes from the backend, after markdown transformation to html
dangerouslySetInnerHTML={{ __html: comment.htmlText }}
/>
<div className="issue-comment-age">