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>
</div>
<div className={'rationale'}>
<p>{props.rule.rationale}</p>
<p dangerouslySetInnerHTML={{__html: props.rule.rationale}} />
</div>
<div className={'checked-resources'}>
<p className={'checked-resources-title'}>Resources checked: </p>