redcloth
redcloth copied to clipboard
Why doesn't RedCloth filter <code> tags?
2.4.1 :003 > RedCloth.new("<div>", [:filter_html]).to_html
=> "<div>"
2.4.1 :004 > RedCloth.new("<pre>", [:filter_html]).to_html
=> "<pre>"
2.4.1 :005 > RedCloth.new("<body>", [:filter_html]).to_html
=> "<body>"
2.4.1 :006 > RedCloth.new("<i>", [:filter_html]).to_html
=> "<p><i></p>"
2.4.1 :007 > RedCloth.new("<code>", [:filter_html]).to_html
=> "<p><code></p>"
Is this a bug, or a feature?