diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-11 15:46:20 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-11 15:46:20 +0200 |
commit | 9909f16d80ae0a7a64f829ece84a60948ae9b5a5 (patch) | |
tree | 8cf284cc49017069ee6008b8986fa9ee821abf15 | |
parent | 35ebe0d647dd1775a99ba476f5f26958003c951e (diff) | |
download | my_new_personal_website-9909f16d80ae0a7a64f829ece84a60948ae9b5a5.tar.xz my_new_personal_website-9909f16d80ae0a7a64f829ece84a60948ae9b5a5.zip |
Codeblock: Output source even if 'pygments_prefix' or 'pygments_suffix' is nil. Fixes #182
Diffstat (limited to '')
-rw-r--r-- | plugins/code_block.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |