diff --git a/ReactNativeClient/lib/MdToHtml.js b/ReactNativeClient/lib/MdToHtml.js index b89ebf43e8..7f480ca57a 100644 --- a/ReactNativeClient/lib/MdToHtml.js +++ b/ReactNativeClient/lib/MdToHtml.js @@ -196,7 +196,7 @@ class MdToHtml { let openTag = null; let closeTag = null; let attrs = t.attrs ? t.attrs : []; - let tokenContent = t.content ? t.content : null; + let tokenContent = t.content ? t.content : ''; const isCodeBlock = tag === 'code' && t.block; const isInlineCode = t.type === 'code_inline'; const codeBlockLanguage = t && t.info ? t.info : null;