refinerycms 0.9.5.14 → 0.9.5.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -49,8 +49,6 @@ module Refinery::HtmlTruncationHelper
|
|
49
49
|
if (last_child = truncated_doc.children.last).inner_html.nil?
|
50
50
|
"#{truncated_doc.inner_html}#{omission}#{options[:link]}" if options[:link]
|
51
51
|
else
|
52
|
-
logger.warn(last_child)
|
53
|
-
logger.warn(last_child.inner_html)
|
54
52
|
last_child.inner_html = "#{last_child.inner_html.gsub(/\W.[^\s]+$/, "")}#{omission}"
|
55
53
|
last_child.inner_html += options[:link] if options[:link]
|
56
54
|
truncated_doc
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.5.
|
4
|
+
version: 0.9.5.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Resolve Digital
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2009-11-
|
14
|
+
date: 2009-11-23 00:00:00 +13:00
|
15
15
|
default_executable: refinery
|
16
16
|
dependencies: []
|
17
17
|
|