diff --git a/app/helpers/pages_helper.rb b/app/helpers/pages_helper.rb index a2e75b51..b91f8bc1 100644 --- a/app/helpers/pages_helper.rb +++ b/app/helpers/pages_helper.rb @@ -1,7 +1,7 @@ module PagesHelper def wikified_body(body) - r = RedCloth.new(body) + r = BlueCloth.new(body) r.gsub!(/\[\[(.*?)(\|(.*?))?\]\]/) { wiki_link($1, $3) } sanitize r.to_html r.to_html diff --git a/config/environment.rb b/config/environment.rb index af17606d..aa2e3335 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -68,7 +68,7 @@ Rails::Initializer.run do |config| config.gem "fastercsv" config.gem "prawn" config.gem "haml", :version => '>=2.0.6' - config.gem 'RedCloth' + config.gem 'BlueCloth', :lib => 'bluecloth' # The internationalization framework can be changed to have another default locale (standard is :en) or more load paths. # All files from config/locales/*.rb,yml are added automatically.