From 9909f16d80ae0a7a64f829ece84a60948ae9b5a5 Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Tue, 11 Oct 2011 15:46:20 +0200 Subject: Codeblock: Output source even if 'pygments_prefix' or 'pygments_suffix' is nil. Fixes #182 --- plugins/code_block.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/code_block.rb') diff --git a/plugins/code_block.rb b/plugins/code_block.rb index bf89feab..e175d445 100644 --- a/plugins/code_block.rb +++ b/plugins/code_block.rb @@ -90,6 +90,7 @@ module Jekyll 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 -- cgit v1.2.1