polyblock 1.2.5 → 1.2.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: 9ffb40045effc3d7f00f21c0ea8caee4d40632d0
4
- data.tar.gz: 54811602b8afcbe85d00ae2000679423df83790a
3
+ metadata.gz: fd21b6c78215898e726b3580e5cbaea0e59f0994
4
+ data.tar.gz: 021c81ed0f24cbda52387a80a765cf52c9a471a5
5
5
  SHA512:
6
- metadata.gz: 174b870c91c90befd97add629c45ffb128325e4c713583473c78dca86752d4b1b4c1671a76e04993f9b2ebc36cf5d9918feeac9168edbcfe1a0c14ca9d16746e
7
- data.tar.gz: 01ae6bc48f39421a3878679de18316f4c04adecb8daa17afe25aeb77bc55b9a4db60f00bf114bcbe783ba4afcdb32ea5943211a9f2f85535e3e93d14ef921e7a
6
+ metadata.gz: 107b98449651c0d41adaf75688b38ff1a14d83c503cb5adee5459e894fcfa9e9550b75a3d375a07500bee2834918b6f5aeaba161e4b940c625b8e79d8caa858c
7
+ data.tar.gz: 7e82710e5c9fd64e80e1d5d347cef25535645598d76fc1b885ac77b7c4233a3f29f89efd0fe9d76f38a4d044c6d3eee475a41df1838c6e3d9be1a9fc93d894c5
@@ -86,8 +86,8 @@ module Polyblock
86
86
  def self.strip_html(str)
87
87
  return str unless str.present?
88
88
  output = str.gsub('<br><br>', '<br>').gsub('&nbsp;', ' ')
89
- output = CGI.unescapeHTML(output)
90
89
  output = ActionController::Base.helpers.strip_tags(output)
90
+ output = CGI.unescapeHTML(output)
91
91
  output.html_safe
92
92
  end
93
93
 
@@ -1,3 +1,3 @@
1
1
  module Polyblock
2
- VERSION = '1.2.5'
2
+ VERSION = '1.2.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyblock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - MacKinley Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-17 00:00:00.000000000 Z
11
+ date: 2016-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails