From a1e7e292792b1c191e0400aeaff4b21cf8bb8726 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 6 Sep 2018 18:40:05 +0100 Subject: [PATCH] All: Fixes #709: Now that HTML is supported in notes, remove BR tag replacement hack. --- ReactNativeClient/lib/MdToHtml.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/ReactNativeClient/lib/MdToHtml.js b/ReactNativeClient/lib/MdToHtml.js index da90ad092..7a8ac4103 100644 --- a/ReactNativeClient/lib/MdToHtml.js +++ b/ReactNativeClient/lib/MdToHtml.js @@ -472,9 +472,6 @@ class MdToHtml { } } - // Support
tag to allow newlines inside table cells - renderedBody = renderedBody.replace(/<br>/gi, '
'); - // https://necolas.github.io/normalize.css/ const normalizeCss = ` html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}