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

main
Frederic Hemberger 14 years ago
parent 35ebe0d647
commit 9909f16d80

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