aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2013-10-12 14:07:25 -0700
committerBrandon Mathis <brandon@imathis.com>2013-10-12 14:07:25 -0700
commit050c393a4eda8ca4aadffd6869e4b4e85655fe71 (patch)
tree0a06aa7d375add193cc2fcab3bd122c9a80853fe /plugins
parentc5141ef70d5c33269366d6cefcfc07ba6778d5e0 (diff)
parent9225798c0bab1a645df8a9ecdabd0442d772937a (diff)
downloadmy_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
Diffstat (limited to 'plugins')
-rw-r--r--plugins/code_block.rb2
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(/</,'&lt;'))}</figure>"
end