diff --git a/ReactNativeClient/lib/markdownUtils.js b/ReactNativeClient/lib/markdownUtils.js index 34fcc0fe6..69a15488a 100644 --- a/ReactNativeClient/lib/markdownUtils.js +++ b/ReactNativeClient/lib/markdownUtils.js @@ -119,9 +119,8 @@ const markdownUtils = { return title.replace(filterRegex, '').replace(mdLinkRegex, '$1').replace(emptyMdLinkRegex, '$1').substring(0,80); }, - stripMarkdown(text, options = { gfm: false }) { - // Removes Markdown syntax elements from the given text - return removeMarkdown(text, options); + stripMarkdown(text) { + return removeMarkdown(text, { gfm: false }); }, };