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

This commit is contained in:
Frederic Hemberger 2011-10-11 15:46:20 +02:00
parent 35ebe0d647
commit 9909f16d80

View File

@ -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