@@ -56,7 +56,7 module Redmine | |||
|
56 | 56 | content = @pre_list[$1.to_i] |
|
57 | 57 | if content.match(/<code\s+class="(\w+)">\s?(.+)/m) |
|
58 | 58 | content = "<code class=\"#{$1} CodeRay\">" + |
|
59 | CodeRay.scan($2, $1).html(:escape => false, :line_numbers => :inline) | |
|
59 | CodeRay.scan($2, $1.downcase).html(:escape => false, :line_numbers => :inline) | |
|
60 | 60 | end |
|
61 | 61 | content |
|
62 | 62 | end |
General Comments 0
You need to be logged in to leave comments.
Login now