Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…x' is nil. Fixes #182
  • Loading branch information...
commit 9909f16d80ae0a7a64f829ece84a60948ae9b5a5 1 parent 35ebe0d
@fhemberger fhemberger authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  plugins/code_block.rb
View
1  plugins/code_block.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.