aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Message.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/src/components/Message.js b/vnext/src/components/Message.js
index cf287ce9c..ba853f5c0 100644
--- a/vnext/src/components/Message.js
+++ b/vnext/src/components/Message.js
@@ -1,5 +1,6 @@
import React from 'react'
import PropTypes from 'prop-types'
+import ReactMarkdown from 'react-markdown'
export default class Message extends React.Component {
render() {
@@ -25,7 +26,7 @@ export default class Message extends React.Component {
<Tags data={msg.tags || []} />
</div>
</header>
- <p>{msg.body}</p>
+ <ReactMarkdown source={msg.body}/>
{ msg.photo &&
<p className="ir"><a href={`//i.juick.com/p/${msg.mid}.${msg.attach}`} data-fname={`${msg.mid}.${msg.attach}`}>
<img itemProp="image" src={`//i.juick.com/p/${msg.mid}.${msg.attach}`} alt=""/></a>