spix_parser 1.6.9 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spix_parser/version.rb +2 -2
- data/lib/spix_parser/wrappers/entry.rb +5 -5
- metadata +2 -2
data/lib/spix_parser/version.rb
CHANGED
@@ -20,8 +20,8 @@ module Spix
|
|
20
20
|
def summary
|
21
21
|
text = @entry.entry_summary || ""
|
22
22
|
text = text.busk_normalize
|
23
|
-
Sanitizer.strip_comments(text)
|
24
|
-
Sanitizer.strip_disallowed_tags(text)
|
23
|
+
text = Sanitizer.strip_comments(text)
|
24
|
+
text = Sanitizer.strip_disallowed_tags(text)
|
25
25
|
Sanitizer.entities_to_chars(text)
|
26
26
|
end
|
27
27
|
memoize(:summary)
|
@@ -55,9 +55,9 @@ module Spix
|
|
55
55
|
|
56
56
|
def content
|
57
57
|
text = encoded_raw_content
|
58
|
-
Sanitizer.strip_comments(text)
|
59
|
-
Sanitizer.strip_disallowed_tags(text)
|
60
|
-
Sanitizer.entities_to_chars(text)
|
58
|
+
text = Sanitizer.strip_comments(text)
|
59
|
+
text = Sanitizer.strip_disallowed_tags(text)
|
60
|
+
text = Sanitizer.entities_to_chars(text)
|
61
61
|
Spix::Utils.format_links({:text => text, :site_url => @feed.site_url})
|
62
62
|
end
|
63
63
|
memoize(:content)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: spix_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.
|
5
|
+
version: 1.7.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Marcio Lopes de Faria
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-06-
|
17
|
+
date: 2011-06-21 00:00:00 -03:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|