Revert original fix and implement fix from @1Map

This commit is contained in:
Owen Conti
2017-07-10 17:39:05 -06:00
parent 5d9ab6a0a2
commit b11399a57e
3 changed files with 10 additions and 4 deletions

View File

@@ -18,10 +18,12 @@ function Markdown({ source }) {
return null
}
return <Remarkable
options={{html: true, typographer: true, linkify: true, breaks: true, linkTarget: "_blank"}}
source={sanitized}
></Remarkable>
return <div className="markdown">
<Remarkable
options={{html: true, typographer: true, linkify: true, linkTarget: "_blank"}}
source={sanitized}
></Remarkable>
</div>
}
Markdown.propTypes = {