polyblock 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc02bfd3e69bfcbdaa7e8aeb3c2d39e096282659
4
- data.tar.gz: ae344e96c447487670d7b78cf5c6f55be4dfd746
3
+ metadata.gz: 9ffb40045effc3d7f00f21c0ea8caee4d40632d0
4
+ data.tar.gz: 54811602b8afcbe85d00ae2000679423df83790a
5
5
  SHA512:
6
- metadata.gz: 2d1f9c519a88f2f50d9c87cc9803a64e8cbac66e95a8e31a328f4aeca31a320785c3670100d9160480373784b79dfb7827dec7da6b66a6d89ad786e239fc5f11
7
- data.tar.gz: 56a971e1d59e86986c70460bed9edf32e511769d8cb2af20da84da39ac86869faf5853c49c042d22f4f69373be9e0d1172d6aaf507106cac4623060164a2a8e5
6
+ metadata.gz: 174b870c91c90befd97add629c45ffb128325e4c713583473c78dca86752d4b1b4c1671a76e04993f9b2ebc36cf5d9918feeac9168edbcfe1a0c14ca9d16746e
7
+ data.tar.gz: 01ae6bc48f39421a3878679de18316f4c04adecb8daa17afe25aeb77bc55b9a4db60f00bf114bcbe783ba4afcdb32ea5943211a9f2f85535e3e93d14ef921e7a
@@ -1,3 +1,3 @@
1
1
  module Polyblock
2
- VERSION = '1.2.4'
2
+ VERSION = '1.2.5'
3
3
  end
@@ -48,7 +48,7 @@ module Polyblock
48
48
  # Truncation
49
49
  if options[:condensed]
50
50
  tag_options[:class] += ' polyblock-condensed'
51
- truncate(Block.strip_html(content), :length => options[:length], :omission => options[:omission])
51
+ truncate(Block.strip_html(content), :length => options[:length], :omission => options[:omission]).html_safe
52
52
  else
53
53
  content_tag(options[:tag], content, tag_options, false)
54
54
  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.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - MacKinley Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-29 00:00:00.000000000 Z
11
+ date: 2016-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails