File: sanitized_html_spec.rb

package info (click to toggle)
ruby-redcloth 4.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 708 kB
  • sloc: ruby: 1,233; ansic: 201; makefile: 25
file content (7 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
require File.dirname(__FILE__) + '/../spec_helper'

describe "sanitized_html" do
  examples_from_yaml do |doc|
    RedCloth.new(doc['in'], [:sanitize_html]).to_html
  end
end