Sha256: e344a11948dfbab1013bff5f67453e27dac92f70f2adc603eaf700a713b39c31

Contents?: true

Size: 387 Bytes

Versions: 64

Compression:

Stored size: 387 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe "HTML" do
  examples_from_yaml do |doc|
    RedCloth.new(doc['in']).to_html
  end
  
  it "should not raise an error when orphaned parentheses in a link are followed by punctuation and words in HTML" do
    lambda {
      RedCloth.new(%Q{Test "(read this":http://test.host), ok}).to_html
    }.should_not raise_error
  end
end

Version data entries

64 entries across 64 versions & 7 rubygems

Version Path
RedCloth-4.2.2 spec/formatters/html_spec.rb
RedCloth-4.2.0 spec/formatters/html_spec.rb
RedCloth-4.2.0-universal-java spec/formatters/html_spec.rb
RedCloth-4.2.0-x86-mswin32-60 spec/formatters/html_spec.rb