Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

Commit

Permalink
Make sure we SmartyPants!
Browse files Browse the repository at this point in the history
  • Loading branch information
gsong committed Feb 20, 2012
1 parent 34f8969 commit c6cee6c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/jekyll/converters/markdown.rb
Expand Up @@ -88,7 +88,12 @@ def convert(content)
setup
case @config['markdown']
when 'redcarpet'
RedcarpetCompat.new(content, *@redcarpet_extensions).to_html
html = RedcarpetCompat.new(content, *@redcarpet_extensions).to_html
if @redcarpet_extensions.include?(:smart)
Redcarpet::Render::SmartyPants.render(html)
else
html
end
when 'kramdown'
# Check for use of coderay
if @config['kramdown']['use_coderay']
Expand Down

0 comments on commit c6cee6c

Please sign in to comment.