summaryrefslogtreecommitdiffstats
path: root/vendor/gitlab.com/golang-commonmark/linkify
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-10-26 22:08:02 +0200
committerGitHub <noreply@github.com>2019-10-26 22:08:02 +0200
commitbad3b83d339b5d3ec8cd69e11ee56e82e23737bb (patch)
treea1070866f50625798c4b8ede945f4530bcccaed7 /vendor/gitlab.com/golang-commonmark/linkify
parent00967a98ac918cfdb66a5a1e9dd8af69dd7e2cc7 (diff)
downloadmatterbridge-msglm-bad3b83d339b5d3ec8cd69e11ee56e82e23737bb.tar.gz
matterbridge-msglm-bad3b83d339b5d3ec8cd69e11ee56e82e23737bb.tar.bz2
matterbridge-msglm-bad3b83d339b5d3ec8cd69e11ee56e82e23737bb.zip
Update golang-commonmark/linkify vendor and use upstream again. Fixes #924 (#926)
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 {