From ad487bf7cc4bd00d2e10b1dafe0e314b99598d7f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 14 Mar 2010 13:22:50 +0000 Subject: Replace the hardcoded "CodeRay" css class name for highlighted elements. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3585 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/wiki_formatting/textile/formatter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/redmine/wiki_formatting/textile/formatter.rb b/lib/redmine/wiki_formatting/textile/formatter.rb index 65c1d01a6..e0cdd6aa3 100644 --- a/lib/redmine/wiki_formatting/textile/formatter.rb +++ b/lib/redmine/wiki_formatting/textile/formatter.rb @@ -52,7 +52,7 @@ module Redmine text.gsub!(//) do content = @pre_list[$1.to_i] if content.match(/\s?(.+)/m) - content = "" + + content = "" + Redmine::SyntaxHighlighting.highlight_by_language($2, $1) end content -- cgit v1.2.3