Sorry about the regression. I''m not sure what happened.
I''ve filed a ticket for you: http://jgarber.lighthouseapp.com/
projects/13054-redcloth/tickets/19-two-em-dashes-become-del#ticket-19-3
Thanks for reporting it!
On Jul 22, 2008, at 4:46 PM, Dave South wrote:
> It''s wonderful to see RedCloth 4.0.0. Thank you for the hard work.
>
> I still see one bug that appears to have come back.
>
> RedCloth.new(''A sentence -- with independent clause --
> fails.'').to_html
>
> Does this:
>
> <p>A sentence <del>- with independent clause -</del>
fails.</p>
>
> It should do this:
>
> <p>A sentence — with independent clause —
fails.</p>
>
> According to ticket 26 -- on the old Trac -- this was fixed in the
> SuperRedCloth branch. I''ve used that branch a while ago and it was
> working correctly.
>
> But it is broken again with RedCloth 4.0.0.
>
> I''ve tried to fix it, but have had no luck.
>
> Thanks again.
>
> Dave
>
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards