Comments and changes to this ticket
-
Jason Garber September 12th, 2008 @ 03:25 AM
- State changed from new to invalid
- Tag set to newlines
As far as I can tell, you get the desired output in the latest version of RedCloth.
$ irb -rubygems irb(main):001:0> require 'redcloth' => true irb(main):002:0> RedCloth::VERSION => 4.0.3 irb(main):003:0> doc = RedCloth.new " irb(main):004:0" aaaa irb(main):005:0" bbbb irb(main):006:0" cccc irb(main):007:0" " => " \naaaa \nbbbb \ncccc \n" irb(main):008:0> doc.to_html => "
aaaa
"
\nbbbb
\nccccIf you're not getting the same thing, check your RedCloth version and report back your RedCloth version, ruby version, and platform.
-
Alvin Ye September 14th, 2008 @ 10:27 AM
-
ruby script\plugin install git://github.com/jgarber/redcloth.git --force
-
ruby script\console
-
RedCloth::VERSION => "3.0.4"
not 4.0.2 ?? why
-
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RedCloth is a Ruby library for converting Textile into HTML