Sha256: 3451b4df03e34a14cdaca0caf7c1b1f53dac2fdd578a15fba57c2df4f58b7405

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 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
    expect {
      RedCloth.new(%Q{Test "(read this":http://test.host), ok}).to_html
    }.not_to raise_error
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
RedCloth-4.3.4 spec/formatters/html_spec.rb