Fixed a bug where html tags were being displayed in description of a rule

This commit is contained in:
VakarisZ 2020-10-02 12:36:14 +03:00
parent 22a97096ca
commit 34460b667b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export default function RuleDisplay(props) {
<h3>{props.rule.description}({props.rule.service})</h3> <h3>{props.rule.description}({props.rule.service})</h3>
</div> </div>
<div className={'rationale'}> <div className={'rationale'}>
<p>{props.rule.rationale}</p> <p dangerouslySetInnerHTML={{__html: props.rule.rationale}} />
</div> </div>
<div className={'checked-resources'}> <div className={'checked-resources'}>
<p className={'checked-resources-title'}>Resources checked: </p> <p className={'checked-resources-title'}>Resources checked: </p>