Browse Source

Codeblock: Output source even if 'pygments_prefix' or 'pygments_suffix' is nil. Fixes #182

unreleased_contents
Frederic Hemberger 13 years ago
parent
commit
9909f16d80
  1. 1
      plugins/code_block.rb

1
plugins/code_block.rb

@ -90,6 +90,7 @@ module Jekyll
source = safe_wrap(source) source = safe_wrap(source)
source = context['pygments_prefix'] + source if context['pygments_prefix'] source = context['pygments_prefix'] + source if context['pygments_prefix']
source = source + context['pygments_suffix'] if context['pygments_suffix'] source = source + context['pygments_suffix'] if context['pygments_suffix']
source
end end
end end
end end

Loading…
Cancel
Save