Removed space to fix HAML compatibility on include_code.
This commit is contained in:
parent
050c393a4e
commit
4fd754a762
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user