diff --git a/plugins/include_code.rb b/plugins/include_code.rb index 220466b..41f3033 100644 --- a/plugins/include_code.rb +++ b/plugins/include_code.rb @@ -62,7 +62,7 @@ module Jekyll title = @title ? "#{@title} (#{file.basename})" : file.basename url = "/#{code_dir}/#{@file}" source = "
#{title} download
\n" - source += " #{highlight(code, @filetype)}
" + source += "#{highlight(code, @filetype)}" safe_wrap(source) end end