I was attempting to run 'rake test' and I received the following error:
test: kramdown should convert quotes to smart quotes. (TestKramdown) [/home/adhearn/jekyll/test/test_kramdown.rb:26]: <"<p>“Pit’hy”</p>"> expected but was <"<p>“Pit’hy”</p>">.
After looking up HTML character encoding (http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references), “ and &ldquo are the same, as are (” and &rdquo) and (’ and &rsquo).
If I comment out the first assert_equal, the second assert fails for the same reason:
test: kramdown should convert quotes to smart quotes. (TestKramdown) [/home/adhearn/Programming/jekyll/test/test_kramdown.rb:30]: <"<p>«Pit›hy»</p>"> expected but was <"<p>«Pit›hy»</p>">.
My gem version for kramdown is 0.14.0. According to the kramdown website (http://kramdown.rubyforge.org/news.html), "Numeric instead of symbolic HTML entities are now the default fallback," so it sounds like a version incompatibility. I've made the obvious changes to the test code in my fork, but a change to documentation to require an older version of kramdown might cause fewer breakages for other people.
v0.14.0 may have changed this. Try it with v0.13.4 (as required in the gemspec). Do the tests pass?
Yes, they pass with 13.4. I mostly meant this to be an advisory for others, since the online documentation doesn't explicitly specify a version (even though the gemspec does).