jekyll-webring 0.3.0 → 0.3.1

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: 83cdc26571bad9e231fcd4783fc6907cf848e325ce25edea4398824de80c4f72
4
- data.tar.gz: 59e7c9e407c4cad49e41713c051627e4f4810995585cd0ab0157cf8ad50b82db
3
+ metadata.gz: bbbfa0c931029c5f98d3a9db392e89aa69ce5280cb196c4e13c3c94e192dc76d
4
+ data.tar.gz: 365d183b5ac6abd85dccd35a819e2e0529bc63d0611eaa08b1072f90a4e92938
5
5
  SHA512:
6
- metadata.gz: 10ec5897a79de4f0c8c04dbeeea8001cfee9feac521d13f8ae166c597a8638e09e63c1bd508166aa28b866f4493855cd14383c1b1d7f78492ae99e2c7c4652ec
7
- data.tar.gz: 046d2e6b09c04e3684f54a3332e398e0f96d746d44e8687b1601abbd48b94824582d483421c90ed77a2cca7cdecc5e2510c9e934c0e036e40704f54fcce1ac32
6
+ metadata.gz: 37281d98848ce3599525dbe094cc2954c84714d3fbf081003dd383823b2ea4ba58618f6ceb5b40752678d56a528a6b8d1edc5d422b5d63409c7718529fce99fe
7
+ data.tar.gz: a1b42b3bac898d9f9a3486714a8a32db03af657e24021f3aae9210290448001ab15ee33eba43bed8d6d7a94d5d0b716e2fe12a9d35c4574eb66690f8f2358b41
@@ -45,7 +45,7 @@ module Jekyll
45
45
  xml = HTTParty.get(url).body
46
46
  raw_feed = Feedjira.parse(xml)
47
47
  raw_feed.entries.each do |item|
48
- sanitized = Sanitize.fragment(item.summary)
48
+ sanitized = Sanitize.fragment(item.content || item.summary)
49
49
  summary = sanitized.length > @max_summary_length ?
50
50
  "#{ sanitized[0 ... @max_summary_length] }..." : sanitized
51
51
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Webring
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-webring
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sophie Askew