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.3.3 spec/formatters/html_spec.rb
gv-RedCloth-4.3.2 spec/formatters/html_spec.rb
RedCloth-4.3.2 spec/formatters/html_spec.rb
RedCloth-4.3.1 spec/formatters/html_spec.rb
RedCloth-4.3.0 spec/formatters/html_spec.rb
parity-RedCloth-4.2.13 spec/formatters/html_spec.rb
parity-RedCloth-4.2.12 spec/formatters/html_spec.rb
parity-RedCloth-4.2.11 spec/formatters/html_spec.rb
parity-RedCloth-4.2.10 spec/formatters/html_spec.rb
parity-RedCloth-4.2.9 spec/formatters/html_spec.rb
YSRedCloth-4.2.18 spec/formatters/html_spec.rb
assplecake-RedCloth-4.2.10 spec/formatters/html_spec.rb
YSRedCloth-4.2.17 spec/formatters/html_spec.rb
YSRedCloth-4.2.16 spec/formatters/html_spec.rb
gv-RedCloth-4.2.9 spec/formatters/html_spec.rb
YSRedCloth-4.2.15 spec/formatters/html_spec.rb
YSRedCloth-4.2.14 spec/formatters/html_spec.rb
YSRedCloth-4.2.13 spec/formatters/html_spec.rb
YSRedCloth-4.2.12 spec/formatters/html_spec.rb
YSRedCloth-4.2.11 spec/formatters/html_spec.rb