Forum: Redcloth problem characters

Posted by failed artist (Guest)
on 2008-06-22 06:15
(Received via mailing list)
hey all

new to the list. we're using redcloth 3.0.4 on a live website

i'm finding some characters are causing 'stack level too deep' 
errors.... i'm not sure which character exactly, but i think one of the 
following is the problem

“
â€
 ‘
’


is this a problem which can be fixed in redcloth and if not have you
got any suggestions on how I can control our users? do we need to
scrape the error characters or can redcloth do that for us?

thanks ahead
Posted by Jase (Guest)
on 2008-06-22 22:02
(Received via mailing list)
As far as I know, RedCloth 3.0.4 bugs are being ignored in favour of the
the new 4.0 version that's just round the corner (as 4.0 fixes most of
these).

I suggest you replace your RedCloth with the new version at
https://code.whytheluckystiff.net/redcloth/wiki/Su...

gem install RedCloth --source http://code.whytheluckystiff.net

^ should do the trick. I wouldn't use the bleeding edge version in git
yet because there are a couple of bugs I've just reported relating to
links (I think other Jason probably knows this from failing test cases
tbh) and latex formatting (Not to mention you need a recent copy of
Ragel too)

>From what I can see the new RedCloth seems to handle UTF-8 encoding, so
it should sort out your issues.

Jase
Posted by Jason Garber (Guest)
on 2008-06-25 20:47
(Received via mailing list)
Have you tried the 4.0 pre-release testing gems?  They're a little out
of date, but it should still give you a good idea of whether it will
work in RedCloth 4 or not.
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.