Merge pull request #329 from trevor/patch-1

typo? engine undefined
This commit is contained in:
Ben Hollis 2012-03-27 21:36:16 -07:00
commit 95b0f80d31

View file

@ -26,7 +26,7 @@ module Middleman::Renderers::Markdown
# Map symbols to classes # Map symbols to classes
if markdown_engine.is_a? Symbol if markdown_engine.is_a? Symbol
engine = engine.to_s engine = markdown_engine.to_s
engine = engine == "rdiscount" ? "RDiscount" : engine.camelize engine = engine == "rdiscount" ? "RDiscount" : engine.camelize
markdown_engine = markdown_engine_prefix.const_get("#{engine}Template") markdown_engine = markdown_engine_prefix.const_get("#{engine}Template")
end end