Sha256: 0e8d46c498a92cc180353113c553d5d820ce0fce010c573250ac5576998d14c5
Contents?: true
Size: 606 Bytes
Versions: 21
Compression:
Stored size: 606 Bytes
Contents
require File.dirname(__FILE__) + '/helper' class TestTags < Test::Unit::TestCase def setup @content = <<CONTENT --- layout: post title: This is a test --- This document results in a markdown error with maruku {% highlight ruby %} puts "hi" puts "bye" {% endhighlight %} CONTENT end def test_markdown_with_pygments_line_handling Jekyll.pygments = true Jekyll.content_type = :markdown result = Liquid::Template.parse(@content).render({}, [Jekyll::Filters]) result = Jekyll.markdown_proc.call(result) assert_no_match(/markdown\-html\-error/,result) end end
Version data entries
21 entries across 21 versions & 11 rubygems