jekyll-extlinks 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 116bb7fbd00da52cb62948ca5081c8b3c7ed34ee
4
- data.tar.gz: e496a360b3f844dbd55ee2850484c16ad50d5071
3
+ metadata.gz: 47ca25797d038e5fc278a7a917cc19f29b81cd38
4
+ data.tar.gz: 6170a177dd0d73f35e9e6a8bdfb4695c06400c92
5
5
  SHA512:
6
- metadata.gz: a33c96adcc5d38ae222ae23ddb2fc28afe557a93a248d714f63bf9d513b42cfaa07e27213a5a845362153b6c6c402ac54c7352995faa241964385a5227c328b0
7
- data.tar.gz: 6482b7169d46e5ae6aa7d09eb87e1cf072a13896a73e00f3f3589ae67b249626972028b27b7f33b1ac6f8f59bb1f18094f4631ee12c50d8572e609cb47a1c297
6
+ metadata.gz: 63459579153e846972b526081bc70102679d814e66f391934e13159c33cbc1762eecd50c746fb9a76e771198b409d1e13c6bd07f6ed7c08bba622dbf21708200
7
+ data.tar.gz: 60995218a997660d4e3efa2c1ae296daf782cef914d9a8274b53b68a8ad6a4d6c449073002cf216a79c694ae6faf9b0b2010770aa74014a6a1195733a1d1b0db
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "jekyll-extlinks"
3
- s.version = "0.0.3"
4
- s.date = "2017-02-26"
3
+ s.version = "0.0.4"
4
+ s.date = "2017-06-08"
5
5
  s.summary = "Jekyll ExtLinks Plugin"
6
6
  s.description = <<-EOF
7
7
  Adds custom attributes to external links (rel="nofollow", target="_blank", etc.)
@@ -48,7 +48,7 @@ module Jekyll
48
48
  # Stop if no attributes were specified
49
49
  return content unless attributes
50
50
 
51
- doc = Nokogiri::HTML.parse(content)
51
+ doc = Nokogiri::HTML.fragment(content)
52
52
  # Stop if we could't parse with HTML
53
53
  return content unless doc
54
54
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-extlinks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Ogarkov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-26 00:00:00.000000000 Z
11
+ date: 2017-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll