summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_body.jsx
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-09-18 13:41:00 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-09-19 10:08:59 -0400
commitbb330b662a60c6581eda6dde0d94eb3a57579b15 (patch)
treef2a4522eed8658fd7c86c19f2bc85b34384f0bff /web/react/components/post_body.jsx
parentae5a1e3ea84fcde2cf0375c1cad778eab6f2634b (diff)
downloadchat-bb330b662a60c6581eda6dde0d94eb3a57579b15.tar.gz
chat-bb330b662a60c6581eda6dde0d94eb3a57579b15.tar.bz2
chat-bb330b662a60c6581eda6dde0d94eb3a57579b15.zip
Added marked library to text_formatting.jsx
Diffstat (limited to 'web/react/components/post_body.jsx')
-rw-r--r--web/react/components/post_body.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/post_body.jsx b/web/react/components/post_body.jsx
index 3be615bb9..8020714cd 100644
--- a/web/react/components/post_body.jsx
+++ b/web/react/components/post_body.jsx
@@ -154,7 +154,7 @@ export default class PostBody extends React.Component {
return (
<div className='post-body'>
{comment}
- <p
+ <div
key={`${post.id}_message`}
id={`${post.id}_message`}
className={postClass}
@@ -164,7 +164,7 @@ export default class PostBody extends React.Component {
onClick={TextFormatting.handleClick}
dangerouslySetInnerHTML={{__html: TextFormatting.formatText(this.state.message)}}
/>
- </p>
+ </div>
{fileAttachmentHolder}
{embed}
</div>