onebox 1.8.11 → 1.8.12

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: b9fdd8decf0ce95f8a5c44381780bbc8d66e8c50
4
- data.tar.gz: 8147a14fb6fd5990ace1e5cf2bcefa928a1e0ba9
3
+ metadata.gz: 7e49b29d9f523548133ecd1ab5e06b38d0095de7
4
+ data.tar.gz: 8a019562dfac53eaabb811217cbbe1d9b71118e3
5
5
  SHA512:
6
- metadata.gz: b0c8feea7c6a688a416f524d33d981377b5307e02aeb58e110679c239fb1b73a4c4fc5bc043eb6cda31e309a78065ee087194d483afa3c1c249c22017a03e643
7
- data.tar.gz: 6f17186c5a4a3ae9dce8b4866b3c87d4c94d5c65a829b28ade3f4aa76d464f572ca05fcc45da173516f0b4abf7376dd53873994ff06307bfa8e01b4f3c4b77e8
6
+ metadata.gz: 739d913e0759b3a3c3f4280f215125bce634303af0f2e6154e192e2deca6b4b4f2a9f02069653f5f2c2e1c06225cb271862e289d4c4fe6f8eddc48c49ad81f73
7
+ data.tar.gz: aeef0ad8e417d3eb127f7d1f62b8dfc0792700f17c9a023ce1ee0235798a0b96ab348340cb534ec6a1a9de1ec6331318c5ee22b3f312e02654fc10d8aae163ba
@@ -29,7 +29,6 @@ class Sanitize
29
29
  a_tag = env[:node]
30
30
  a_tag['href'] ||= '#'
31
31
  if a_tag['href'] =~ %r{^(?:[a-z]+:)?//}
32
- a_tag['target'] = '_blank'
33
32
  a_tag['rel'] = 'nofollow noopener'
34
33
  else
35
34
  a_tag.remove_attribute('target')
@@ -1,3 +1,3 @@
1
1
  module Onebox
2
- VERSION = "1.8.11"
2
+ VERSION = "1.8.12"
3
3
  end
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.11
4
+ version: 1.8.12
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-06-06 00:00:00.000000000 Z
13
+ date: 2017-06-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json