Textile headaches

I have the newest version of RedCloth installed (3.0.4). I want the
following output:

Header

Some text

This is what I tried but no luck:

irb(main):002:0> require ‘rubygems’
=> true
irb(main):004:0> require_gem ‘RedCloth’
=> true
irb(main):006:0> RedCloth.new(“h1. Header\r\nSome Text”).to_html
=> “

Header\nSome Text

Any ideas?

Rob

Yes, I got bit by this a while back, it is a bug in .04… Downgrade to
3.0.3 and all should be well.

Thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs