Noticed this weird html at http://jekyllrb.com/docs/configuration/#redcarpet:

I traced it back to this commit: 4cc6a0f. And I eventually figured out that require "classifier" was the problem. The simplest temporary fix is to remove this line. But anyways, I think the issue is some conflict between the classifier gem and kramdown.
[1] pry(main)> require 'kramdown'
=> true
[2] pry(main)> puts Kramdown::Document.new("- a\n\n paragraph\n\n # ...ruby code\n\n paragraph\n- b\n").to_html
<ul>
<li>
<p>a</p>
<p>paragraph</p>
<pre><code> # ...ruby code
</code></pre>
<p>paragraph</p>
</li>
<li>
<p>b</p>
</li>
</ul>
=> nil
That works as normal. But when we include classifier:
[1] pry(main)> require 'kramdown'
=> true
[2] pry(main)> require 'classifier'
Notice: for 10x faster LSI support, please install http://rb-gsl.rubyforge.org/
=> true
[3] pry(main)> puts Kramdown::Document.new("- a\n\n paragraph\n\n # ...ruby code\n\n paragraph\n- b\n").to_html
<ul>
<li>a</li>
</ul>
<pre><code>paragraph
# ...ruby code
paragraph - b
</code></pre>
=> nil
Noticed this weird html at http://jekyllrb.com/docs/configuration/#redcarpet:

I traced it back to this commit: 4cc6a0f. And I eventually figured out that
require "classifier"was the problem. The simplest temporary fix is to remove this line. But anyways, I think the issue is some conflict between the classifier gem and kramdown.That works as normal. But when we include classifier: