Forum: Redcloth Wonderful 4.0.0 / Problems with em-dashes

Posted by Dave South (Guest)
on 2008-07-22 22:47
(Received via mailing list)
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 &#8212; with independent clause &#8212; 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
Posted by Jason Garber (Guest)
on 2008-07-23 15:02
(Received via mailing list)
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!
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.