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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b785a108ad8a82bdc21dbc428240bcba1b77ac3a0a5cf08d0de68bac11583e5
4
- data.tar.gz: 52f4c91fb3a9ba242667a9a4b079fe6426fde92d29e7f121116c0544062a3a16
3
+ metadata.gz: 2836cec71c0c1f3afd790c4ecae0e5723afb9fc05528ad6dc41b73f19656249f
4
+ data.tar.gz: a61260800002cdf541b11fc94fc1aaa3cf11b8da69385f7ced94f2a7f4eec68a
5
5
  SHA512:
6
- metadata.gz: 17c9ca468bb8ca4c20deb9387e3d85ff9c80281711f25cb87cdfbad22b733700a49ad5721e78b2169283d9178276434bef63974d250441de0297c3fbf4f698ea
7
- data.tar.gz: 89db5416f295bdfa12c8545d1b613aad7a4fb235f2e4c6470f2a2d4968e663d23689e6ca529e0cdf59e1fdcc3b95ca2467b62e9b83a6cab8bcb0790a12c12663
6
+ metadata.gz: aaf3e9a6bf991b3357641defaa2ab567215bd05a09548aa3db6906fd3471d384bd7f41c34d4a7334fa68a5fe5728f903e587d2cb1012d6c64a6b99b867a6d13d
7
+ data.tar.gz: 21f471a272df9e61e142edb3269a97ed36c6720dadf936b5ea0931a92824eede8bf2f82ce1ae8a1538920f945a4f6c5ff94fbf00f4117f86352864164cae8e85
@@ -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])
@@ -1,3 +1,3 @@
1
1
  module HTMLProofer
2
- VERSION = '3.10.1'.freeze
2
+ VERSION = '3.10.2'.freeze
3
3
  end
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.1
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-16 00:00:00.000000000 Z
11
+ date: 2019-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mercenary