polyblock 0.5.2 → 0.5.3

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: ff1b1011057012de5de4bb7d34083bcc819d9072
4
- data.tar.gz: 798b6e7eb21deead33e1515febbb216b09891854
3
+ metadata.gz: 8c28aa77b4c57fd54b2ef964d7bc088693c73785
4
+ data.tar.gz: c810a5190f5fb800e2010a8090a12140ff4b4a57
5
5
  SHA512:
6
- metadata.gz: 20674b891df39d239c083f81d402c67f9a75c7238804aea4dbd0fbb8a27f613caf2791fbeb2250e21fcd23c02476d03783e0d0b2ccee460a5976a93bf3d76b76
7
- data.tar.gz: da2c2d52b5bdf942e9cc017faf72f20b15c29f77aec863afe8ca9799951887fa69fb1993fa2b5556209463d9fe5b2c87341db441ed964e555293338549bd292b
6
+ metadata.gz: 1b2760e9f052d6f9af045a8f91d1f3b4f47eda34d0bf90397a41af6c2d3951b3892ab854bc9a3a30faef38575408d7feb4347a25582b429b24ab2949854c24cc
7
+ data.tar.gz: a811049aa524d743846f09089f482111ede8f935c7bf385c080a9acfcf6eca330869847f814273661b87c1c6ea523d185cdc3df4257844dcc01c6c561be0ac88
@@ -62,7 +62,7 @@ module Polyblock
62
62
  if options[:condensed]
63
63
  tag_options[:class] += " polyblock-condensed"
64
64
  content = CGI.unescapeHTML(content.gsub("<br><br>", "<br>").gsub('&nbsp;', ' '))
65
- truncate(sanitize(strip_tags(content)), :length => options[:length], :omission => options[:omission]).html_safe
65
+ truncate(sanitize(strip_tags(content)), :length => options[:length], :omission => options[:omission])
66
66
  else
67
67
  content_tag(options[:tag], content, tag_options, false)
68
68
  end
@@ -1,3 +1,3 @@
1
1
  module Polyblock
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
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: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - MacKinley Smith