prarupa 0.1 → 0.1.1

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.
@@ -32,8 +32,8 @@ module Prarupa
32
32
  ""
33
33
  else
34
34
  textilized = RedCloth.new(text, options)
35
- textilized.to_html.html_safe
36
- end
35
+ textilized.to_html
36
+ end.html_safe
37
37
  end
38
38
 
39
39
  # Returns the text with all the Textile codes turned into HTML tags,
@@ -85,8 +85,8 @@ module Prarupa
85
85
  ""
86
86
  else
87
87
  markdowned = RDiscount.new(text, *options)
88
- markdowned.to_html.chomp.html_safe #used chomp to remove the \n appended by RDiscount
89
- end
88
+ markdowned.to_html.chomp #used chomp to remove the \n appended by RDiscount
89
+ end.html_safe
90
90
  end
91
91
  end
92
92
  end
@@ -1,3 +1,3 @@
1
1
  module Prarupa
2
- VERSION = '0.1'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- version: "0.1"
8
+ - 1
9
+ version: 0.1.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - Rohit Arondekar
@@ -13,7 +14,7 @@ autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
16
 
16
- date: 2010-06-10 00:00:00 +05:30
17
+ date: 2010-06-11 00:00:00 +05:30
17
18
  default_executable:
18
19
  dependencies:
19
20
  - !ruby/object:Gem::Dependency