Sha256: 229d07541893610e6ebc77ab203138217e13c1f8bcad54579364a12dc22334ca
Contents?: true
Size: 359 Bytes
Versions: 8
Compression:
Stored size: 359 Bytes
Contents
require 'test_helper' class TestEncoding < Minitest::Test # see http://git.io/vq4FR def test_encoding contents = File.read(File.join(FIXTURES_DIR, 'curly.md')) doc = CommonMarker.render_doc(contents, :smart) render = doc.to_html assert_equal render.rstrip, '<p>This curly quote “makes commonmarker throw an exception”.</p>' end end
Version data entries
8 entries across 8 versions & 1 rubygems