conred 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,13 +15,13 @@ module Conred
15
15
  if word_count
16
16
  action_view.truncate(text, :length => word_count, :omission => omission).html_safe
17
17
  else
18
- text.html_safe
18
+ text.to_s.html_safe
19
19
  end
20
20
  end
21
21
 
22
22
  def sanitize_body(text = "")
23
23
  text = action_view.sanitize(text, :tags => %w(p a strong ul ol li blockquote strike u em), :attributes => %w(href))
24
- text.html_safe
24
+ text.to_s.html_safe
25
25
  end
26
26
 
27
27
  def external_url(link)
@@ -1,3 +1,3 @@
1
1
  module Conred
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conred
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: