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 +4 -4
- data/app/helpers/polyblock/application_helper.rb +1 -1
- data/lib/polyblock/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c28aa77b4c57fd54b2ef964d7bc088693c73785
|
4
|
+
data.tar.gz: c810a5190f5fb800e2010a8090a12140ff4b4a57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(' ', ' '))
|
65
|
-
truncate(sanitize(strip_tags(content)), :length => options[:length], :omission => options[:omission])
|
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
|
data/lib/polyblock/version.rb
CHANGED