Peter-Frank Spierenburg wrote:> I''m wondering if there are any Wiki-style markup tools written in > Rails (or even Ruby) that are open-source. I''m writing a forum > application and would like to allow users to format their text without > permitting potentially dangerous HTML tags in their input.What you need is called RedCloth. And by the way, there is a Rails forum called RForum (it goes live in a matter of days). -- Best regards, Alexey Verkhovsky Ruby Forum: http://ruby-forum.org (moderator) RForum: http://rforum.andreas-s.net (co-author) Instiki: http://instiki.org (maintainer)
Greetings, I''m wondering if there are any Wiki-style markup tools written in Rails (or even Ruby) that are open-source. I''m writing a forum application and would like to allow users to format their text without permitting potentially dangerous HTML tags in their input. Peter.
On Tue, 29 Mar 2005 01:58:03 -0400, Peter-Frank Spierenburg <peter-QwGnaCI3XxIdnm+yROfE0A@public.gmane.org> wrote:> I''m wondering if there are any Wiki-style markup tools written in Rails > (or even Ruby) that are open-source. I''m writing a forum application and > would like to allow users to format their text without permitting > potentially dangerous HTML tags in their input.Somebody already mentioned RedCloth, but I figure I''ll throw in the link to it: http://www.whytheluckystiff.net/ruby/redcloth/ And also warn you that it doesn''t do any html escaping... and the ''h'' method normally used for html escaping isn''t compatible with it, so you''ll have to grow your own. Hope this helps. -- Urban Artography http://artography.ath.cx