Fixes bug that removes all highlight tags

This commit is contained in:
Christian Hellsten 2010-04-18 01:51:53 +03:00
parent b299a7bad3
commit 8405d30764
1 changed files with 3 additions and 2 deletions

View File

@ -23,10 +23,11 @@ module Jekyll
def render(context) def render(context)
if context.registers[:site].pygments if context.registers[:site].pygments
render_pygments(context, super.to_s) output = render_pygments(context, super.to_s)
else else
render_codehighlighter(context, super.to_s) output = render_codehighlighter(context, super.to_s)
end end
output
end end
def render_pygments(context, code) def render_pygments(context, code)