I have the newest version of RedCloth installed (3.0.4). I want the following output: <h1>Header</h1> <p>Some text</p> 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 => "<h1>Header\nSome Text</h1>" Any ideas? Rob
on 2006-04-01 19:01
on 2006-04-01 21:10
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.
on 2006-04-01 22:27