diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-09-13 14:46:36 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-09-13 14:46:36 +0200 |
commit | 5c3af5c5ac32014180020c18b47bd69e55519a6a (patch) | |
tree | 319cac22a1f989d93f2c1a4691537c82a41f7b9d /server | |
parent | d41c7785f74e96ea1cc0295860524aa3fc29dd3a (diff) | |
download | sonarqube-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.js | 5 |
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)} |