dependabot-common 0.95.21 → 0.95.22
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d45837fc7826e4f30d508ad046357473019881f0dbd83b78e73a2e356a9d37d4
|
4
|
+
data.tar.gz: 658557bae289f11c5b6a6dd54148b23f0f16e216ac025d8851853bf55edc3b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cdb1ad1f341d7d30e99af8426f1cdc87cb2d13ab509b336a981cad26263740c5b4684d2aefc5ac9b7992ceaf194c9f3c7aef003ff830c34e4064af21b20b2c4
|
7
|
+
data.tar.gz: f394bb00e1c3cda54744298af257a1b78e99782cd5f04ccccfb1b896f4e8533ef59d83adfe457349fade47e4a3b349382203c32e2ee138c23b33bc56c197a721
|
@@ -690,12 +690,12 @@ module Dependabot
|
|
690
690
|
|
691
691
|
last_match = Regexp.last_match
|
692
692
|
|
693
|
+
sanitized_mention = mention.gsub("@", "@​")
|
693
694
|
if last_match.pre_match.chars.last == "[" &&
|
694
695
|
last_match.post_match.chars.first == "]"
|
695
|
-
|
696
|
+
sanitized_mention
|
696
697
|
else
|
697
|
-
"[
|
698
|
-
"(https://github.com/#{mention.tr('@', '')})"
|
698
|
+
"[#{sanitized_mention}](https://github.com/#{mention.tr('@', '')})"
|
699
699
|
end
|
700
700
|
end
|
701
701
|
|
data/lib/dependabot/version.rb
CHANGED