Ruby Forum Redcloth > Bug in 3.290?

Posted by Todd Persen (Guest)
on 09.04.2008 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 11.04.2008 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