onebox 1.8.5 → 1.8.6
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 389009d0633bfd3396fba23cb000eff26cb019d5
|
4
|
+
data.tar.gz: b2fac0d0854c26b0be21586636488f64936fb7c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 494c648079d4ed949fad65c1a56f1b63d871fb5a49450c53ddc9242264c9038a9bc499d980d29636612f6089853e86cb7989da2ef7d039e45a3787e7a1d68ba4
|
7
|
+
data.tar.gz: 45b227ce833a00abd7783120aeb55df26cb98323d9be012c9f3d1eaf1453ec71c554e41156828ce28b322f130c5e43be1f376936fe0981a6870a27919b612eed
|
@@ -205,7 +205,7 @@ module Onebox
|
|
205
205
|
|
206
206
|
d[:description] ||= d[:summary]
|
207
207
|
if !Onebox::Helpers.blank?(d[:description])
|
208
|
-
d[:description] = html_entities.decode(Onebox::Helpers.truncate(d[:description].strip, 250))
|
208
|
+
d[:description] = html_entities.decode(Sanitize.fragment(Onebox::Helpers.truncate(d[:description].strip, 250)))
|
209
209
|
end
|
210
210
|
|
211
211
|
if !Onebox::Helpers.blank?(d[:domain])
|
data/lib/onebox/version.rb
CHANGED
@@ -45,7 +45,7 @@
|
|
45
45
|
<meta property="og:site_name" content="Mail Online" />
|
46
46
|
<meta property="og:title" content="Brutality or justice? The truth behind the tarred and feathered drug dealer" />
|
47
47
|
<meta property="og:type" content="article" />
|
48
|
-
<meta property="og:description" content="It was the most chilling image of the week ... a drug-dealer tarred and feathered in a medieval act of retribution. Sheer savagery? Or the desperate response of a community that decided to fight back?" />
|
48
|
+
<meta property="og:description" content="It was the most <b>chilling</b> image of the week ... a drug-dealer tarred and feathered in a medieval act of retribution. Sheer savagery? Or the desperate response of a community that decided to fight back?" />
|
49
49
|
<meta property="og:url" content="http://www.dailymail.co.uk/news/article-479146/Brutality-justice-The-truth-tarred-feathered-drug-dealer.html" />
|
50
50
|
<meta property="og:image" content="" />
|
51
51
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onebox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joanna Zeta
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-05-
|
13
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|