diff options
author | Dessalines <tyhou13@gmx.com> | 2020-04-01 12:18:21 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-04-01 12:18:21 -0400 |
commit | ef564b0a931c90acab4be67a317d8fda11779fb6 (patch) | |
tree | d3ecee9d9406470f6a399cc0e46e0dffcb21dd09 | |
parent | fb21f9c22f0ce0a357860e0a3f2c7d7e7d74d155 (diff) | |
parent | 0b467cfeed0493a6594d4e1d0457887f81cbe702 (diff) |
Merge branch 'dev'
-rw-r--r-- | ui/src/components/navbar.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/src/components/navbar.tsx b/ui/src/components/navbar.tsx index ea9b619b..d7f3b5a8 100644 --- a/ui/src/components/navbar.tsx +++ b/ui/src/components/navbar.tsx @@ -375,12 +375,13 @@ export class Navbar extends Component<any, NavbarState> { let link = isCommentType(reply) ? `/post/${reply.post_id}/comment/${reply.id}` : `/inbox`; - let body = md.render(reply.content); + let htmlBody = md.render(reply.content); + let body = reply.content; // Unfortunately the notifications API can't do html messageToastify( creator_name, creator_avatar, - body, + htmlBody, link, this.context.router ); |