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 +4 -4
- data/lib/jekyll-webring.rb +1 -1
- data/lib/jekyll-webring/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbbfa0c931029c5f98d3a9db392e89aa69ce5280cb196c4e13c3c94e192dc76d
|
4
|
+
data.tar.gz: 365d183b5ac6abd85dccd35a819e2e0529bc63d0611eaa08b1072f90a4e92938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37281d98848ce3599525dbe094cc2954c84714d3fbf081003dd383823b2ea4ba58618f6ceb5b40752678d56a528a6b8d1edc5d422b5d63409c7718529fce99fe
|
7
|
+
data.tar.gz: a1b42b3bac898d9f9a3486714a8a32db03af657e24021f3aae9210290448001ab15ee33eba43bed8d6d7a94d5d0b716e2fe12a9d35c4574eb66690f8f2358b41
|
data/lib/jekyll-webring.rb
CHANGED
@@ -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
|
|