polyblock 1.0.7 → 1.0.8

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: 8bf9008887fae26ad79aa76fbe8a172da6ad6ab3
4
- data.tar.gz: 6c9495b8d6baa16961f04c5bea3568b254d98ac8
3
+ metadata.gz: 1ea93f95db119761476709c06e9b1254c2d2c6f7
4
+ data.tar.gz: ce5225f261ae7f12f394dfd9aafe9d2539c17028
5
5
  SHA512:
6
- metadata.gz: d74df5375feb912807a23523df66b582efe50a5b3287ec86733509d01999a7b2cbb64caf76063b7ec11fb08f1bdb88067fe3c8e8e209a3ebf73c70fa1ba69696
7
- data.tar.gz: d401f0d06297798a2bc786203534ddb0e3ae1345bc8864a82ccdac663635c3e13fe178f51db0b079a5160a93d1f3f716418cd4f3fcd71303b1b8b0a1d3571675
6
+ metadata.gz: e9e8f519b939293a471e2c48c2a0d7eac231fae07ddf68dfc07bfbab78003c6cb2a2a55db80069f26e9a677d6eef349962fcf8436e08be0e71b8cf6afa9dcbe7
7
+ data.tar.gz: 17e56270d98890e6e5999046b2cf873fa24becf3d393baec39b09dbd992e3f101ad387bbeccb24f7a12d20d2287a94166ebe14f99e895b1ea21ca2c493119330
@@ -14,7 +14,7 @@ module Polyblock
14
14
  # Fill the editor content
15
15
  page.execute_script <<-SCRIPT
16
16
  var ckeditor = CKEDITOR.instances['#{locator}'];
17
- ckeditor.setData('#{params[:with]}');
17
+ ckeditor.setData('#{params[:with].gsub("'", "\\'")}');
18
18
  ckeditor.focus();
19
19
  setTimeout(function(){
20
20
  ckeditor.updateElement();
@@ -1,3 +1,3 @@
1
1
  module Polyblock
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyblock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - MacKinley Smith