diff options
Diffstat (limited to 'vendor/gitlab.com/golang-commonmark/linkify/url.go')
-rw-r--r-- | vendor/gitlab.com/golang-commonmark/linkify/url.go | 2 |
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 { |