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
on 2008-06-22 06:15
on 2008-06-22 22:02
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
on 2008-06-25 20:47
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.