diff --git a/src/main.js b/src/main.js index aa24d5e6..d27ff2c9 100644 --- a/src/main.js +++ b/src/main.js @@ -162,9 +162,6 @@ const mixin = { const regex = /(((https?:\/\/)|(www\.))[^\s]+)/g; if (!string) return ''; return string.replace(regex, (url) => { - if (!url.match('^https?:\\/\\/')) { // If URL does not have http(s), we're adding it manually. - return `${url}` - } return `${url}` }) }