Permalink
Browse files

rendering would be helpful

  • Loading branch information...
1 parent 14493e4 commit baceb06ffe93f5ab4ecbb23010e314787a5b6c2e @defunkt committed Apr 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mustache/plugins/syntax_highlighter.rb
View
2 lib/mustache/plugins/syntax_highlighter.rb
@@ -7,7 +7,7 @@ module SyntaxHighlighter
LEXERS.each do |lexer|
define_method "highlight_#{lexer}" do
- lambda { |text| Albino.new(text, lexer) }
+ lambda { |text| render Albino.new(text, lexer) }
end
end
end

0 comments on commit baceb06

Please sign in to comment.