Commit 06250c4f authored by Nick's avatar Nick

fix: ignore mailto links from processing (#1041)

parent 3db491a8
...@@ -32,7 +32,7 @@ module.exports = { ...@@ -32,7 +32,7 @@ module.exports = {
let href = $(elm).attr('href') let href = $(elm).attr('href')
// -> Ignore empty / anchor links // -> Ignore empty / anchor links
if (!href || href.length < 1 || href.indexOf('#') === 0) { if (!href || href.length < 1 || href.indexOf('#') === 0 || href.indexOf('mailto:') === 0) {
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment