From c3ef296146b7235fccc0b2531f8fd59eb0c98963 Mon Sep 17 00:00:00 2001 From: mightyplow Date: Wed, 5 Jul 2017 10:55:05 +0200 Subject: [PATCH] use div for surrounding parsed content. see issue #24 --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index cdf5499..c403100 100644 --- a/src/index.js +++ b/src/index.js @@ -30,12 +30,12 @@ var Remarkable = React.createClass({ content() { if (this.props.source) { - return ; + return
; } else { return React.Children.map(this.props.children, child => { if (typeof child === 'string') { - return ; + return
; } else { return child;