From f781a734e24b100f28c4fdfc8e340ebb85bc0618 Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Sat, 24 Aug 2019 12:34:13 +0300 Subject: [PATCH] Fixed br tag render issue --- src/components/postElements/body/view/postBodyView.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/postElements/body/view/postBodyView.js b/src/components/postElements/body/view/postBodyView.js index b664b86a5..4ffdfc23f 100644 --- a/src/components/postElements/body/view/postBodyView.js +++ b/src/components/postElements/body/view/postBodyView.js @@ -187,6 +187,9 @@ class PostBody extends PureComponent { ); }, + br: (htmlAttribs, children, passProps) => { + return {'\n'}; + }, }; return (