thoughtafter-simple-rss 1.2.3.2 → 1.2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple-rss.rb +5 -5
- metadata +4 -4
data/lib/simple-rss.rb
CHANGED
@@ -152,11 +152,11 @@ class SimpleRSS
|
|
152
152
|
end
|
153
153
|
|
154
154
|
def unescape(content)
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
155
|
+
if content =~ /([^-_.!~*'()a-zA-Z\d;\/?:@&=+$,\[\]]%)/ then
|
156
|
+
CGI.unescape(content).gsub(/(<!\[CDATA\[|\]\]>)/,'').strip
|
157
|
+
else
|
158
|
+
content.gsub(/(<!\[CDATA\[|\]\]>)/,'').strip
|
159
|
+
end
|
160
160
|
end
|
161
161
|
end
|
162
162
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thoughtafter-simple-rss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 69
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
9
|
- 3
|
10
|
-
-
|
11
|
-
version: 1.2.3.
|
10
|
+
- 3
|
11
|
+
version: 1.2.3.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Lucas Carlson
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-03-28 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies: []
|
22
22
|
|