We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
def to_html(m) require 'redcloth' require 'htmlentities' coder = HTMLEntities.new m = coder.decode(m) m = RedCloth.new(m, [:filter_html, :sanitize_html]).to_html m.html_safe end