editor_js 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/editor_js/blocks/embed_block.rb +1 -1
- data/lib/editor_js/blocks/image_block.rb +1 -1
- data/lib/editor_js/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 971be8f7a5bcc50f90032ad0d28e31e1501d578240aa433c75eb9a22e214c023
|
4
|
+
data.tar.gz: c251c0c3f39a2b1159e3af404dd0f84c2b9a393eb966aa2827f0c9431b31cc30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 274b5f08751e2c5432db9eb6c74c85260a580dfcdab3747048f35f99b399b66f12c3e3936fc29e0256518ec6505a68ebad862066699ac69fe12fb5df5fd95e52
|
7
|
+
data.tar.gz: 13cd21c912b10d91de9ac2558f98a41049b6e326e2bad5f4f705fb7e7968cb55831144d74d02637dfa3bf9a664ae143d39fd8d67c023a268bf83cc1004faa4d7
|
data/Gemfile.lock
CHANGED
@@ -45,7 +45,7 @@ module EditorJs
|
|
45
45
|
%w[caption embed height service source width].each do |key|
|
46
46
|
str = Sanitize.fragment(data[key], remove_contents: true).strip
|
47
47
|
if %w[embed service source].include?(key)
|
48
|
-
str.gsub('&', '&')
|
48
|
+
str.gsub!('&', '&')
|
49
49
|
end
|
50
50
|
data[key] = str
|
51
51
|
end
|
data/lib/editor_js/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: editor_js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- xiaohui
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|