Skip to content

Commit

Permalink
markdown to html updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ue committed May 8, 2019
1 parent 1752da7 commit 4f71ea9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utils/markdownToHtml.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4f71ea9

Please sign in to comment.