summaryrefslogtreecommitdiffstats
path: root/vendor/gitlab.com/golang-commonmark/linkify/url.go
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/url.go
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/url.go')
-rw-r--r--vendor/gitlab.com/golang-commonmark/linkify/url.go2
1 files changed, 1 insertions, 1 deletions
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 {