jlindley-rbling 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 2
4
- :patch: 0
4
+ :patch: 1
@@ -69,7 +69,7 @@ protected
69
69
  end
70
70
 
71
71
  def self.add_vertical_whitespace(text)
72
- text.gsub!("\n", '<br/>')
72
+ text.gsub!("\n", ' <br/>')
73
73
  end
74
74
 
75
75
  # matched included slash will be available in $1 or \1
@@ -97,12 +97,12 @@ describe Rbling do
97
97
 
98
98
  it "should convert single line breaks into html line breaks" do
99
99
  "This is two lines.\nSeperated by a single line break.".rbling_to_html.
100
- should == "This is two lines.<br/>Seperated by a single line break."
100
+ should == "This is two lines. <br/>Seperated by a single line break."
101
101
  end
102
102
 
103
103
  it "should convert double line breaks to double html breaks" do
104
104
  "This is two lines.\n\nSeparated by two line breaks.".rbling_to_html.
105
- should == "This is two lines.<br/><br/>Separated by two line breaks."
105
+ should == "This is two lines. <br/> <br/>Separated by two line breaks."
106
106
  end
107
107
 
108
108
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jlindley-rbling
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Lindley