tinymce-rails-documentupload 3.5.8.5 → 3.5.8.7

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: e031008e784fe63af23e71c55c292e556fd918d1
4
- data.tar.gz: dc4c2212136065e57834507e2b852299b19c3e8e
3
+ metadata.gz: 734cfb9dfdbb63383e34a9a50c9f735352b35402
4
+ data.tar.gz: 0605bca2cd2b2c83c48c11cf04d3a42b3ff3cd58
5
5
  SHA512:
6
- metadata.gz: 4fcad4fd07ec52c255ac18f3393aabe543a63556b4b7ec5cfb49776b30fb4c1ebd02023191938b4f44e181a5284d4242a3817e2498b827e90ff4d6c872e00851
7
- data.tar.gz: 99af450a72e56f43a4d6f6eb4c59218551740cc44b5804c7b888bd3e1409a04b1ce28a261b326ff795e4b2704ac339a7eb3409c25ddf7479d66663b35996d11e
6
+ metadata.gz: 1500025dd731c6ef34e393e465d1e737362fb5742bc56c139465a1f00e88fc7da3d0c52eb095a578d474c8a5b1ed54a2d24048d8b69fb8d56456db0770d0b19f
7
+ data.tar.gz: febfcdca5bcfbf30bc6e9b5ac1c0b6b1e5ecd50e89a96e4e0eb2c7f9679c904a4f33302d245f2e4bf541b23cd9157f463bd3a065796171a64faf312be1745f91
data/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  ### Add the gem to your Gemfile
18
18
 
19
- gem 'tinymce-rails-documentupload', '~> 3.5.8.1'
19
+ gem 'tinymce-rails-documentupload', '~> 3.5.8.7'
20
20
 
21
21
  ### Set up TinyMCE as you would normally, but in the call to `.tinymce()`, add
22
22
 
@@ -1,7 +1,7 @@
1
1
  module Tinymce
2
2
  module Rails
3
3
  module Documentupload
4
- VERSION = "3.5.8.5"
4
+ VERSION = "3.5.8.7"
5
5
  end
6
6
  end
7
7
  end
@@ -85,7 +85,7 @@
85
85
  if (json["document"]["thumb"] && json["document"]["thumb"]["url"]) {
86
86
  thumb_json = json["document"]["thumb"];
87
87
 
88
- docstr += "><img src='" + thumb_json["url"] + "'";
88
+ docstr += "<img src='" + thumb_json["url"] + "'";
89
89
 
90
90
  if (thumb_json["height"]) {
91
91
  docstr += " height='" + thumb_json["height"] + "'";
@@ -97,7 +97,7 @@
97
97
 
98
98
  docstr += " alt='" + alt_text + "' />";
99
99
  } else {
100
- docstr += ">" + alt_text;
100
+ docstr += alt_text;
101
101
  }
102
102
 
103
103
  docstr += "</a>";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinymce-rails-documentupload
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.8.5
4
+ version: 3.5.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florent Morin