Forum: Redcloth Bug in 3.290?

Posted by Todd Persen (Guest)
on 2008-04-09 22:43
(Received via mailing list)
The latest gem seems to be interpreting "p.", "h2.", etc.  in the
middle of text.  This isn't the desired effect, is it?

irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> gem 'RedCloth?', '=3.290'
=> true
irb(main):003:0> require 'redcloth'
=> true
irb(main):004:0> description = "I saw a ship.  It ate my elephant."
=> "I saw a ship.  It ate my elephant."
irb(main):005:0> RedCloth.new(description).to_html
=> "<p>I saw a shiIt ate my elephant.</p>"

Todd
Posted by Jason Garber (Guest)
on 2008-04-11 20:54
(Received via mailing list)
nuts.  you're right.  I'm on it.

http://code.whytheluckystiff.net/redcloth/ticket/46

Jason Garber
Web and New Media Coordinator
Eastern Mennonite University
(540) 432-4198
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.