From 9d1be8f393c99865549d158bac91be52b5d5ce37 Mon Sep 17 00:00:00 2001 From: Trevor Wennblom Date: Tue, 27 Mar 2012 18:17:59 -0500 Subject: [PATCH] typo? engine undefined --- middleman-more/lib/middleman-more/renderers/markdown.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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