diff options
| author | Alexandre Perrin <alex.kaworu@gmail.com> | 2013-05-11 16:48:36 +0300 |
|---|---|---|
| committer | Alexandre Perrin <alex.kaworu@gmail.com> | 2013-05-11 16:48:36 +0300 |
| commit | fe28c0b518e47f7929772eaaab7b0118ddcfbaad (patch) | |
| tree | c68fafe5e03079bd28b7e2dfd8b7a36a9c323492 | |
| parent | e83dfccc4f6f2db6283918af1743e63278807089 (diff) | |
| download | my_new_personal_website-fe28c0b518e47f7929772eaaab7b0118ddcfbaad.tar.xz my_new_personal_website-fe28c0b518e47f7929772eaaab7b0118ddcfbaad.zip | |
Fix codeblock rendering with HAML when there is a filetype defined.
| -rw-r--r-- | plugins/code_block.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "<figure class='code'>" source += @caption if @caption if @filetype - source += " #{highlight(code, @filetype)}</figure>" + source += "#{highlight(code, @filetype)}</figure>" else source += "#{tableize_code(code.lstrip.rstrip.gsub(/</,'<'))}</figure>" end |
