diff --git a/src/main.js b/src/main.js index 0737f6b8..c7437bbf 100644 --- a/src/main.js +++ b/src/main.js @@ -183,7 +183,7 @@ const mixin = { const emailRegex = /([\w-\\.]+@(?:[\w-]+\.)+[\w-]{2,4})/g; return string .replace(urlRegex, url => { - if (url.endsWith("")) return url; + if (url.endsWith("") || url.endsWith("${url}`; }) .replace(emailRegex, email => {