Markdown engine should not be nil
This commit is contained in:
parent
e59241c036
commit
aa35b8f0f0
|
@ -30,7 +30,7 @@ module Middleman
|
|||
if markdown_engine == :redcarpet
|
||||
require "middleman-core/renderers/redcarpet"
|
||||
::Tilt.prefer(::Middleman::Renderers::RedcarpetTemplate)
|
||||
elsif markdown_engine.nil?
|
||||
elsif not markdown_engine.nil?
|
||||
# Map symbols to classes
|
||||
markdown_engine_klass = if markdown_engine.is_a? Symbol
|
||||
engine = markdown_engine.to_s
|
||||
|
|
Loading…
Reference in a new issue