From fe28c0b518e47f7929772eaaab7b0118ddcfbaad Mon Sep 17 00:00:00 2001 From: Alexandre Perrin Date: Sat, 11 May 2013 16:48:36 +0300 Subject: Fix codeblock rendering with HAML when there is a filetype defined. --- plugins/code_block.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/code_block.rb') diff --git a/plugins/code_block.rb b/plugins/code_block.rb index c70e181e..46620d86 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 -- cgit v1.2.1