X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5b33f3f8e31c62bc3e5db1d5b120533c3afdde68..d85621c7aea365b1548d5301af292528dd8b329d:/app/controllers/site_controller.rb?ds=inline diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 48b847cdd..6e26e798f 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -115,7 +115,7 @@ class SiteController < ApplicationController def offline; end def preview - render :text => RichText.new(params[:format], params[:text]).to_html + render :html => RichText.new(params[:type], params[:text]).to_html end def id