aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks
diff options
context:
space:
mode:
Diffstat (limited to 'brokenlinks')
-rw-r--r--brokenlinks/worker.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/brokenlinks/worker.go b/brokenlinks/worker.go
index cf41c49..082dc11 100644
--- a/brokenlinks/worker.go
+++ b/brokenlinks/worker.go
@@ -413,6 +413,9 @@ func (wrk *worker) processLink(parentUrl *url.URL, val string, kind int) (
// Ignore link to ID, like `href="#element_id"`.
return nil
}
+ if strings.HasPrefix(val, `mailto:`) {
+ return nil
+ }
if !strings.HasPrefix(val, `http`) {
if val[0] == '/' {
// val is absolute link.