diff --git a/plugins/code_block.rb b/plugins/code_block.rb index 00b0b43..bf89fea 100644 --- a/plugins/code_block.rb +++ b/plugins/code_block.rb @@ -24,7 +24,7 @@ # # Output: # -#
+#
#
Got pain? painrelief.sh Download it! #

 # -- nicely escaped highlighted code --
@@ -37,7 +37,7 @@
 # Ooooh, sarcasm... How original!
 # {% endcodeblock %}
 #
-# 
+#
#
<sarcasm> Ooooh, sarcasm... How original!</sarcasm>
#
# @@ -80,7 +80,7 @@ module Jekyll def render(context) output = super code = super.join - source = "
" + source = "
" source += @caption if @caption if @filetype source += " #{highlight(code, @filetype)}
" diff --git a/plugins/include_code.rb b/plugins/include_code.rb index 80951cb..fc6daa3 100644 --- a/plugins/include_code.rb +++ b/plugins/include_code.rb @@ -61,7 +61,7 @@ module Jekyll @filetype = file.extname.sub('.','') if @filetype.nil? title = @title ? "#{@title} (#{file.basename})" : file.basename url = "/#{code_dir}/#{@file}" - source = "
#{title} download
\n" + source = "
#{title} download
\n" source += " #{highlight(code, @filetype)}
" safe_wrap(source) end