Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16164 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/3.4.0
@@ -466,9 +466,7 @@ module ApplicationHelper | |||
end | |||
def syntax_highlight_lines(name, content) | |||
lines = [] | |||
syntax_highlight(name, content).each_line { |line| lines << line } | |||
lines | |||
syntax_highlight(name, content).each_line.to_a | |||
end | |||
def syntax_highlight(name, content) |