Codeblock: Output source even if 'pygments_prefix' or 'pygments_suffix' is nil. Fixes #182
This commit is contained in:
parent
35ebe0d647
commit
9909f16d80
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user