Removed space to fix HAML compatibility on include_code.
This commit is contained in:
parent
050c393a4e
commit
4fd754a762
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ module Jekyll
|
||||||
title = @title ? "#{@title} (#{file.basename})" : file.basename
|
title = @title ? "#{@title} (#{file.basename})" : file.basename
|
||||||
url = "/#{code_dir}/#{@file}"
|
url = "/#{code_dir}/#{@file}"
|
||||||
source = "<figure class='code'><figcaption><span>#{title}</span> <a href='#{url}'>download</a></figcaption>\n"
|
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)
|
safe_wrap(source)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue