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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/redcloth-upwards/attachments/20080621/45b8b322/attachment.html>
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/SuperRedCloth 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, soit should sort out your issues. Jase On Sat, 2008-06-21 at 21:01 -0700, failed artist wrote:> 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 > > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards
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. On Jun 22, 2008, at 12:01 AM, failed artist wrote:> 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 > > _______________________________________________ > Redcloth-upwards mailing list > Redcloth-upwards at rubyforge.org > http://rubyforge.org/mailman/listinfo/redcloth-upwards-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/redcloth-upwards/attachments/20080625/465a13aa/attachment.html>