Displaying 1 result from an estimated 1 matches for "n_not_".
Did you mean:
_not_
2006 Aug 04
0
Hard break broken in 3.0.4?
Is :hard_break working in RedCloth 3.0.4?
$ ruby -v
ruby 1.8.4 (2005-12-24) [i686-linux]
$ pwd
/lib/ruby/gems/1.8/gems/RedCloth-3.0.4/lib
$ irb
irb(main):001:0> require ''redcloth''
=> true
irb(main):002:0> rc = RedCloth.new("h1. Heading\n\n_Not_ heading.")
=> "h1. Heading\n\n_Not_ heading."
irb(main):003:0> rc.to_html(:textile)
=> "<h1>Heading</h1>\n\n\n\t<p><em>Not</em> heading.</p>"
All good so far. But now:
irb(main):004:0> rc.hard_breaks = true
=&...