##// END OF EJS Templates
Fixed: error when using upcase language name in coderay (#1162) (Windows specific)....
Jean-Philippe Lang -
r1390:c65d696f41a1
parent child
Show More
@@ -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