aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-09-13 14:46:36 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-09-13 14:46:36 +0200
commit5c3af5c5ac32014180020c18b47bd69e55519a6a (patch)
tree319cac22a1f989d93f2c1a4691537c82a41f7b9d /server
parentd41c7785f74e96ea1cc0295860524aa3fc29dd3a (diff)
downloadsonarqube-5c3af5c5ac32014180020c18b47bd69e55519a6a.tar.gz
sonarqube-5c3af5c5ac32014180020c18b47bd69e55519a6a.zip
SONAR-5856 correctly display html descriptions
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/SubCategoryDefinitionsList.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/SubCategoryDefinitionsList.js b/server/sonar-web/src/main/js/apps/settings/components/SubCategoryDefinitionsList.js
index 4a8688b40dc..3bb2ceefa46 100644
--- a/server/sonar-web/src/main/js/apps/settings/components/SubCategoryDefinitionsList.js
+++ b/server/sonar-web/src/main/js/apps/settings/components/SubCategoryDefinitionsList.js
@@ -58,9 +58,8 @@ export default class SubCategoryDefinitionsList extends React.Component {
<li key={subCategory.key}>
<h2 className="settings-sub-category-name">{subCategory.name}</h2>
{subCategory.description != null && (
- <div className="settings-sub-category-description markdown">
- {subCategory.description}
- </div>
+ <div className="settings-sub-category-description markdown"
+ dangerouslySetInnerHTML={{ __html: subCategory.description }}/>
)}
<DefinitionsList settings={bySubCategory[subCategory.key]} component={this.props.component}/>
{this.renderEmailForm(subCategory.key)}