diff options
author | Brandon Mathis <brandon@imathis.com> | 2013-10-12 14:07:25 -0700 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2013-10-12 14:07:25 -0700 |
commit | 050c393a4eda8ca4aadffd6869e4b4e85655fe71 (patch) | |
tree | 0a06aa7d375add193cc2fcab3bd122c9a80853fe | |
parent | c5141ef70d5c33269366d6cefcfc07ba6778d5e0 (diff) | |
parent | 9225798c0bab1a645df8a9ecdabd0442d772937a (diff) | |
download | my_new_personal_website-050c393a4eda8ca4aadffd6869e4b4e85655fe71.tar.xz my_new_personal_website-050c393a4eda8ca4aadffd6869e4b4e85655fe71.zip |
Merge pull request #1254 from kAworu/master
make codeblock play nice with HAML
-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 |