Skip to content

Commit

Permalink
Removed space to fix HAML compatibility on include_code.
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Oct 12, 2013
1 parent 050c393 commit 4fd754a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/include_code.rb
Expand Up @@ -62,7 +62,7 @@ def render(context)
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
Expand Down

0 comments on commit 4fd754a

Please sign in to comment.