html-proofer 3.7.4 → 3.7.5
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/utils.rb +1 -1
- data/lib/html-proofer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43b1bce01cb4cf722e6df22de0efb168ab07039a
|
4
|
+
data.tar.gz: 233c5c148c7415c98faa4f06ec6ddb7b437dde40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 158cc151cb181e58e05f2b55de7ed48c8aff12b1e633ce95bf3c3ee9645bf5112a53f06ece741087541839302c05ecef0f5f528ba5913a113ecfc2659db03c58
|
7
|
+
data.tar.gz: b2a7c2dfe909f2d8c8d6789dd576b540af10343a783940d69894cf86b8038d025db4b65e610e314b77654d763f79a3839d5d2d113b27a602cd067ea8faed569a
|
data/lib/html-proofer/utils.rb
CHANGED
@@ -29,7 +29,7 @@ module HTMLProofer
|
|
29
29
|
# problem from http://git.io/vBYU1
|
30
30
|
# solution from http://git.io/vBYUi
|
31
31
|
def clean_content(string)
|
32
|
-
string.gsub(%r{https
|
32
|
+
string.gsub(%r{(?:https?:)?//([^>]+)}i) do |url|
|
33
33
|
url.gsub(/&(?!amp;)/, '&')
|
34
34
|
end
|
35
35
|
end
|
data/lib/html-proofer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html-proofer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mercenary
|