Allow banners to dangerously set HTML.

This commit is contained in:
Graphictoria 2021-10-02 15:03:45 -04:00
parent 125c3eda90
commit 04bcea5a31
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ const Banner = (props) => {
return (
<div className={`alert${props.dismissible === true || props.dismissible === 'true' ? ' alert-dismissible' : ''} graphictoria-alert alert-${type}`}>
<p className="mb-0">{description}</p>
<p className="mb-0" dangerouslySetInnerHTML={{ __html: description }}></p>
{CloseButton}
</div>
);