dependabot-common 0.95.21 → 0.95.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edff4db5c7964f525a5b6cfae5527ac69c1ffe6fe26b1474988bd211b581c5a9
4
- data.tar.gz: 277c2b9edbf834d07fa19963bc36294672d1679cea8505c14aef5cb61aaa4ad2
3
+ metadata.gz: d45837fc7826e4f30d508ad046357473019881f0dbd83b78e73a2e356a9d37d4
4
+ data.tar.gz: 658557bae289f11c5b6a6dd54148b23f0f16e216ac025d8851853bf55edc3b95
5
5
  SHA512:
6
- metadata.gz: f56f3db80549042391ea22b985852b83023c1d3acf52596d26c68af6a44a8d40849fabbeb44e199e41b2ffca9b6115c1b119f99e4bbfd7736873829a50cf3d1f
7
- data.tar.gz: f6e65f77ed309bd6dd2510ade943ad0886bf79f863bafc27fc8b6bec4fd5486bd5bab03c9a53edc69755733ffbbf3d391bbd525aa4d1a165c8be78d97258652a
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
- "**#{mention.tr('@', '')}**"
696
+ sanitized_mention
696
697
  else
697
- "[**#{mention.tr('@', '')}**]"\
698
- "(https://github.com/#{mention.tr('@', '')})"
698
+ "[#{sanitized_mention}](https://github.com/#{mention.tr('@', '')})"
699
699
  end
700
700
  end
701
701
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.95.21"
4
+ VERSION = "0.95.22"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.95.21
4
+ version: 0.95.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot