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