Skip to content

Commit 32e3ea6

Browse files
authored
Merge pull request #135 from scientist-softserv/133-formatting
fix formatting
2 parents 51d3447 + a0b3475 commit 32e3ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compounds/Messages/MessageCardBody.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const MessageCardBody = ({ message, isLatestMessage }) => {
1212
<div>
1313
<Card.Title>{name}</Card.Title>
1414
<Card.Text>
15-
{body}
15+
<span dangerouslySetInnerHTML={{ __html: body }} />
1616
</Card.Text>
1717
{(attachments.length > 0) && (attachments.map((attachment) => {
1818
const { contentLength, filename, uuid, href } = attachment

0 commit comments

Comments
 (0)