Forum: Ruby on Rails Textile headaches

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Robert MannI (Guest)
on 2006-04-01 21:01
(Received via mailing list)
I have the newest version of RedCloth installed (3.0.4). I want the
following output:


<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>"h1. Header\r\nSome Text").to_html
=> "<h1>Header\nSome Text</h1>"

Any ideas?

Howard R. (Guest)
on 2006-04-01 23:10
(Received via mailing list)
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.
Robert MannI (Guest)
on 2006-04-02 00:27
(Received via mailing list)
This topic is locked and can not be replied to.