diff --git a/middleman-more/lib/middleman-more/renderers/markdown.rb b/middleman-more/lib/middleman-more/renderers/markdown.rb index 996a5449..e2182e91 100644 --- a/middleman-more/lib/middleman-more/renderers/markdown.rb +++ b/middleman-more/lib/middleman-more/renderers/markdown.rb @@ -26,7 +26,7 @@ module Middleman::Renderers::Markdown # Map symbols to classes if markdown_engine.is_a? Symbol - engine = engine.to_s + engine = markdown_engine.to_s engine = engine == "rdiscount" ? "RDiscount" : engine.camelize markdown_engine = markdown_engine_prefix.const_get("#{engine}Template") end