Sha256: e0681915fe0fd33eac27155210f508a43144475f68b69527dae2727ec89ab9f3
Contents?: true
Size: 680 Bytes
Versions: 4
Compression:
Stored size: 680 Bytes
Contents
#!/usr/bin/env ruby require File.expand_path('../helper', __FILE__) class TestFormatters < Test::Unit::TestCase generate_formatter_tests('html') do |doc| RedCloth.new(doc['in']).to_html end def test_html_orphan_parenthesis_in_link_can_be_followed_by_punctuation_and_words assert_nothing_raised { RedCloth.new(%Q{Test "(read this":http://test.host), ok}).to_html } end generate_formatter_tests('latex') do |doc| RedCloth.new(doc['in']).to_latex end def test_latex_orphan_parenthesis_in_link_can_be_followed_by_punctuation_and_words assert_nothing_raised { RedCloth.new(%Q{Test "(read this":http://test.host), ok}).to_latex } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
BBRedCloth-0.9.0.alpha1 | test/test_formatters.rb |
BBRedCloth-0.8.8 | test/test_formatters.rb |
BBRedCloth-0.8.7 | test/test_formatters.rb |
BBRedCloth-0.8.6 | test/test_formatters.rb |