forked from p34709852/monkey
Fixed a bug where html tags were being displayed in description of a rule
This commit is contained in:
parent
22a97096ca
commit
34460b667b
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue