summaryrefslogtreecommitdiffstats
path: root/vendor/gitlab.com/golang-commonmark/linkify
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gitlab.com/golang-commonmark/linkify')
-rw-r--r--vendor/gitlab.com/golang-commonmark/linkify/.gitlab-ci.yml2
-rw-r--r--vendor/gitlab.com/golang-commonmark/linkify/url.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/vendor/gitlab.com/golang-commonmark/linkify/.gitlab-ci.yml b/vendor/gitlab.com/golang-commonmark/linkify/.gitlab-ci.yml
index c873ca36..5e4d0bf2 100644
--- a/vendor/gitlab.com/golang-commonmark/linkify/.gitlab-ci.yml
+++ b/vendor/gitlab.com/golang-commonmark/linkify/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: golang:1.11
+image: golang:1.13
stages:
- build
diff --git a/vendor/gitlab.com/golang-commonmark/linkify/url.go b/vendor/gitlab.com/golang-commonmark/linkify/url.go
index 495a7ac4..b2a21bbd 100644
--- a/vendor/gitlab.com/golang-commonmark/linkify/url.go
+++ b/vendor/gitlab.com/golang-commonmark/linkify/url.go
@@ -88,7 +88,7 @@ loop:
case isUnreserved(r):
if r == '-' {
nHyphen++
- if nHyphen > 1 {
+ if nHyphen > 2 {
break loop
}
} else {