Permalink
Browse files

Codeblock: Output source even if 'pygments_prefix' or 'pygments_suffi…

…x' is nil. Fixes #182
  • Loading branch information...
1 parent 35ebe0d commit 9909f16d80ae0a7a64f829ece84a60948ae9b5a5 @fhemberger fhemberger committed Oct 11, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 plugins/code_block.rb
View
@@ -90,6 +90,7 @@ def render(context)
source = safe_wrap(source)
source = context['pygments_prefix'] + source if context['pygments_prefix']
source = source + context['pygments_suffix'] if context['pygments_suffix']
+ source
end
end
end

0 comments on commit 9909f16

Please sign in to comment.