html-proofer 3.10.1 → 3.10.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/element.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2836cec71c0c1f3afd790c4ecae0e5723afb9fc05528ad6dc41b73f19656249f
|
4
|
+
data.tar.gz: a61260800002cdf541b11fc94fc1aaa3cf11b8da69385f7ced94f2a7f4eec68a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaf3e9a6bf991b3357641defaa2ab567215bd05a09548aa3db6906fd3471d384bd7f41c34d4a7334fa68a5fe5728f903e587d2cb1012d6c64a6b99b867a6d13d
|
7
|
+
data.tar.gz: 21f471a272df9e61e142edb3269a97ed36c6720dadf936b5ea0931a92824eede8bf2f82ce1ae8a1538920f945a4f6c5ff94fbf00f4117f86352864164cae8e85
|
data/lib/html-proofer/element.rb
CHANGED
@@ -54,7 +54,7 @@ module HTMLProofer
|
|
54
54
|
|
55
55
|
def url
|
56
56
|
return @url if defined?(@url)
|
57
|
-
@url = (@src || @srcset || @href || '').delete("\u200b")
|
57
|
+
@url = (@src || @srcset || @href || '').delete("\u200b").strip
|
58
58
|
@url = Addressable::URI.join(base.attr('href') || '', url).to_s if base
|
59
59
|
return @url if @check.options[:url_swap].empty?
|
60
60
|
@url = swap(@url, @check.options[:url_swap])
|
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.10.
|
4
|
+
version: 3.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mercenary
|