From: Belorion Date: 2005-06-20T04:39:12+09:00 Subject: markdown, textile, etc I've been trying to use RedCloth in a rails app. According to the documentatoin at http://redcloth.rubyforge.org/rdoc/classes/RedCloth.html#M000051, if I supply [:filter_html] as an option when I create a new RedCloth instance, all html not created by RedCloth is escaped. This doesn't appear to be the case for me, though... %> ruby -e "require 'rubygems'; require_gem 'RedCloth', '~> 3.0.3'; r= RedCloth.new( \"foo *bar*\", [:filter_html] ); puts r.to_html " Gives:

foo bar

Clearly, the html is not being espcaped, which is contrary to the documenation, and not what I expected to happen. Has anyone been able to get this to work? Or, alternatively, does anyone know of a library that will provide similar functionality? Thanks. Matt