Sha256: bd7d94f9ad83cc287735e6173b7e1b26ed6347323c6ed1678e8cbf404bd10d53

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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