Removed space to fix HAML compatibility on include_code.

This commit is contained in:
Brandon Mathis 2013-10-12 16:08:59 -05:00
parent 050c393a4e
commit 4fd754a762

View File

@ -62,7 +62,7 @@ module Jekyll
title = @title ? "#{@title} (#{file.basename})" : file.basename
url = "/#{code_dir}/#{@file}"
source = "<figure class='code'><figcaption><span>#{title}</span> <a href='#{url}'>download</a></figcaption>\n"
source += " #{highlight(code, @filetype)}</figure>"
source += "#{highlight(code, @filetype)}</figure>"
safe_wrap(source)
end
end