fix highlighting on ruby 1.9. fixes #65
This commit is contained in:
parent
0756d1f765
commit
ba77a024d6
|
@ -2,6 +2,7 @@
|
||||||
* Bug Fixes
|
* Bug Fixes
|
||||||
* Render highlighted code for non markdown/textile pages (#116)
|
* Render highlighted code for non markdown/textile pages (#116)
|
||||||
* Expand source to full path so includes work anywhere (#101)
|
* Expand source to full path so includes work anywhere (#101)
|
||||||
|
* Fix highlighting on Ruby 1.9 (#65)
|
||||||
|
|
||||||
== 0.5.7 / 2010-01-12
|
== 0.5.7 / 2010-01-12
|
||||||
* Minor Enhancements
|
* Minor Enhancements
|
||||||
|
|
|
@ -23,9 +23,9 @@ module Jekyll
|
||||||
|
|
||||||
def render(context)
|
def render(context)
|
||||||
if context.registers[:site].pygments
|
if context.registers[:site].pygments
|
||||||
render_pygments(context, super.to_s)
|
render_pygments(context, super.join)
|
||||||
else
|
else
|
||||||
render_codehighlighter(context, super.to_s)
|
render_codehighlighter(context, super.join)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue