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 +4 -4
- data/lib/html-proofer/check/links.rb +1 -1
- data/lib/html-proofer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: deb1da1ed4ae6e0e0641fae514b0cbd2da643487
|
4
|
+
data.tar.gz: 24d179721b6ceb6e913a39228edc4e751c225d2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
data/lib/html-proofer/version.rb
CHANGED