Ticket #46 (closed defect: fixed)
p. h1. etc. are eaten mid-phrase
| Reported by: | Todd Persen | Owned by: | jgarber |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | ext | Version: | SUPER |
| Keywords: | Cc: |
Description
from the email...
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
Change History
Note: See
TracTickets for help on using
tickets.