diff --git a/History.txt b/History.txt index d28726a9..c97cd08f 100644 --- a/History.txt +++ b/History.txt @@ -2,6 +2,7 @@ * Bug Fixes * Render highlighted code for non markdown/textile pages (#116) * Expand source to full path so includes work anywhere (#101) + * Fix highlighting on Ruby 1.9 (#65) == 0.5.7 / 2010-01-12 * Minor Enhancements diff --git a/lib/jekyll/tags/highlight.rb b/lib/jekyll/tags/highlight.rb index 1fa9982c..046cf290 100644 --- a/lib/jekyll/tags/highlight.rb +++ b/lib/jekyll/tags/highlight.rb @@ -23,9 +23,9 @@ module Jekyll def render(context) if context.registers[:site].pygments - render_pygments(context, super.to_s) + render_pygments(context, super.join) else - render_codehighlighter(context, super.to_s) + render_codehighlighter(context, super.join) end end