From fe28c0b518e47f7929772eaaab7b0118ddcfbaad Mon Sep 17 00:00:00 2001 From: Alexandre Perrin Date: Sat, 11 May 2013 16:48:36 +0300 Subject: [PATCH] Fix codeblock rendering with HAML when there is a filetype defined. --- plugins/code_block.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/code_block.rb b/plugins/code_block.rb index c70e181..46620d8 100644 --- a/plugins/code_block.rb +++ b/plugins/code_block.rb @@ -79,7 +79,7 @@ module Jekyll source = "
" source += @caption if @caption if @filetype - source += " #{highlight(code, @filetype)}
" + source += "#{highlight(code, @filetype)}" else source += "#{tableize_code(code.lstrip.rstrip.gsub(/" end