We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81a2008 commit c819679Copy full SHA for c819679
src/lib/forms/FeedbackLabel.js
@@ -43,7 +43,13 @@ export class FeedbackLabel extends Component {
43
{hasSeverity && (
44
<InvenioPopup
45
trigger={<Icon name="info circle" />}
46
- content={severityInfo.severityDescription}
+ // Rule descriptions can contain HTML to link to a page with more details about the rule.
47
+ // This field is sanitized in the backend with SanitizedHTML.
48
+ content={
49
+ <span
50
+ dangerouslySetInnerHTML={{ __html: severityInfo.severityDescription }}
51
+ />
52
+ }
53
position="top center"
54
hoverable
55
/>
0 commit comments