Merge pull request #4021 from stomar/fix-indentation

Avoid "mismatched indentations" warning for ruby -w
This commit is contained in:
Parker Moore 2015-10-11 14:38:47 -07:00
commit 2410bcc001
1 changed files with 7 additions and 7 deletions

View File

@ -48,13 +48,13 @@ eos
output =
case context.registers[:site].highlighter
when 'pygments'
render_pygments(code, is_safe)
when 'rouge'
render_rouge(code)
else
render_codehighlighter(code)
end
when 'pygments'
render_pygments(code, is_safe)
when 'rouge'
render_rouge(code)
else
render_codehighlighter(code)
end
rendered_output = add_code_tag(output)
prefix + rendered_output + suffix