mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 01:38:24 -05:00
Fixes bug that removes all highlight tags
This commit is contained in:
@@ -23,10 +23,11 @@ module Jekyll
|
||||
|
||||
def render(context)
|
||||
if context.registers[:site].pygments
|
||||
render_pygments(context, super.to_s)
|
||||
output = render_pygments(context, super.to_s)
|
||||
else
|
||||
render_codehighlighter(context, super.to_s)
|
||||
output = render_codehighlighter(context, super.to_s)
|
||||
end
|
||||
output
|
||||
end
|
||||
|
||||
def render_pygments(context, code)
|
||||
|
||||
Reference in New Issue
Block a user