When using the :filter_html option of redcloth, it filters not only HTML code present in the input but also part of its generated HTML output. On the other hand, there is some HTML code that is not filtered, even if it is in the input. dev-ruby/redcloth-3.0.4 Reproducible: Always Steps to Reproduce: 1. cat <<'EOI' > redcloth_filter_html.rb #! /usr/bin/ruby18 require 'rubygems' require 'redcloth' puts RedCloth.new("The <b>colour</b> %(red)red%.", [:filter_html]).to_html EOI 2. ruby redcloth_filter_html.rb Actual Results: <p>The <b>colour</b> red .</p> Expected Results: <p>The colour <span class="red">red</span>.</p> dev-ruby/redcloth-3.0.4.
We just provide the means to install it. You need to file bugs specific to the design with the authors of the software. http://whytheluckystiff.net/ruby/redcloth/ http://rubyforge.org/projects/redcloth/