html-proofer 3.7.1 → 3.7.2

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
  SHA1:
3
- metadata.gz: 2e2e987f27cea394b1d6fd60937e45e32addbd15
4
- data.tar.gz: 894dba51116323f95f00720d9317c75e00be75fc
3
+ metadata.gz: deb1da1ed4ae6e0e0641fae514b0cbd2da643487
4
+ data.tar.gz: 24d179721b6ceb6e913a39228edc4e751c225d2b
5
5
  SHA512:
6
- metadata.gz: 27cb87adf3a63d61e020d55418d2bb33983e1b50a709d3251caf5e66850ea694f812e51eaaff2ec08a3cdff081c6a2ad18fa6db402b90d36fa4507815c552274
7
- data.tar.gz: 1a126cc3aabbd152d8afac93b3b1a4133498b95d6218aeb1885142623f324628dfd367f3b4919deeefb7ca093ab2d605f09273ed7089b5aac58a51321dcdb40b
6
+ metadata.gz: 28017e3ec9e9a91ed0aa56821a6ecfc940fa1ee36dc3323a06f559b2b38c65b9670e4484b4decdc8f7bcf0c38c6574524f40a17a3290a923565c21d93c4a65b5
7
+ data.tar.gz: f505b3e0e951f6b407f9f77567e89f78533885a3d2ce0defd839c02690e24b1b26cea2a5424753675d8439c3e5144aed477d508d9b075f53c546fd5f91e3119b
@@ -107,7 +107,7 @@ class LinkCheck < ::HTMLProofer::Check
107
107
  end
108
108
 
109
109
  def hash_check(html, href_hash)
110
- decoded_href_hash = URI.decode(href_hash)
110
+ decoded_href_hash = Addressable::URI.unescape(href_hash)
111
111
  fragment_ids = [href_hash, decoded_href_hash]
112
112
  fragment_ids.include?('top') || !find_fragments(html, fragment_ids).empty?
113
113
  end
@@ -1,3 +1,3 @@
1
1
  module HTMLProofer
2
- VERSION = '3.7.1'.freeze
2
+ VERSION = '3.7.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-proofer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.1
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian