From 4f71ea92f5310714e90d336f45bc40670c4b7bf1 Mon Sep 17 00:00:00 2001 From: u-e Date: Wed, 8 May 2019 23:39:51 +0300 Subject: [PATCH] markdown to html updated --- src/utils/markdownToHtml.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils/markdownToHtml.js b/src/utils/markdownToHtml.js index 20a70f27d..211e3b529 100644 --- a/src/utils/markdownToHtml.js +++ b/src/utils/markdownToHtml.js @@ -263,10 +263,7 @@ const handleIframe = input => input.replace(iframeRegex, (link) => { return link; }); -const handleEmptyLink = input => input.replace(handleEmptyLink, (aa) => { - console.log(aa); - return 'ugur'; -}); +const handleEmptyLink = input => input.replace(handleEmptyLink, () => ''); const createVimeoIframe = input => input.replace(vimeoRegex, (link) => { const execLink = vimeoRegex.exec(link);